Curl proxy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ravigandha
    New Member
    • Mar 2008
    • 17

    Curl proxy

    Hello i have a problem with proxy the following code which is working in my localhost,and when i upload it to my server its displaying error code is :
    [PHP]define('USE_PRO XY',FALSE);
    /**
    PROXY_HOST: Set the host name or the IP address of proxy server.
    PROXY_PORT: Set proxy port.

    PROXY_HOST and PROXY_PORT will be read only if USE_PROXY is set to TRUE
    */
    define('PROXY_H OST', '127.0.0.1');
    define('PROXY_P ORT', '808');
    [/PHP]

    My IP addr is:72.18.135.16 6
    When i have to uplaod i have to change these two lines
    [PHP]define('PROXY_H OST', '127.0.0.1');
    define('PROXY_P ORT', '808');[/PHP]
    But i dont have an idea with what to replace? as i dont know my proxy server and port.
    Anybody help me out!
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hi.

    What error are you getting?
    Can we see the code that is generating the error, rather than just the part where you define your constants?

    Comment

    • Ravigandha
      New Member
      • Mar 2008
      • 17

      #3
      Ya my prb solved. I changed my server frm windows to Linux. where no need to give proxy.

      Comment

      Working...