I have to connect to internet through proxy server using php and java…..
As we have to use internet connection in my project in various files.
There is any way to write program for connect through proxy server in a common file and we can call that file wherever we wants?
For both php and java..
Can any one help me?
Thanks in advance…
Google is your friend!
PHP
http://www.php.net/manual/en/function.stream-context-create.php#92586
JAVA
http://jaydeepm.wordpress.com/2009/08/08/url-connection-via-proxy-the-java-1-5-way/