How to setup HTTP proxy settings in PHP?

Posted by Jack on Stack Overflow See other posts from Stack Overflow or by Jack
Published on 2010-04-14T12:09:17Z Indexed on 2010/04/14 12:13 UTC
Read the original article Hit count: 336

Filed under:
|

I am trying to write a program in PHP which I had already written in Java. I had used the following statements to setup proxy in Java

System.setProperty("http.proxyHost",proxyhost);
System.setProperty("http.proxyPort",proxyport);

How do I do the same for PHP?

© Stack Overflow or respective owner

Related posts about php

Related posts about java