Proxy Auth using fsockopen

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gil-Dale

    Proxy Auth using fsockopen

    Trying to make a connection via a proxy to another site using the
    fsockopen
    I can get it hitting the proxy server just can't get it through.

    I have user name and password to get through the proxy... but how
    exactly do I make it work using the fsockopen??

    Cheers
  • Chung Leong

    #2
    Re: Proxy Auth using fsockopen

    "Gil-Dale" <GilDale@Pacifi c.net.au> wrote in message
    news:6069700a.0 406211902.571f8 f49@posting.goo gle.com...[color=blue]
    > Trying to make a connection via a proxy to another site using the
    > fsockopen
    > I can get it hitting the proxy server just can't get it through.
    >
    > I have user name and password to get through the proxy... but how
    > exactly do I make it work using the fsockopen??
    >
    > Cheers[/color]

    If you use PHP 4.3.0+, try stream_context_ create() + fopen(). Add the right
    HTTP headers to the context then it will work.


    Comment

    Working...