How to setup HTTP proxy settings in PHP?
- by Jack
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?