How-to articles, tricks, and solutions about PROXY

file_get_contents behind a proxy?

The file_get_contents function in PHP can be used to retrieve the contents of a file from a remote server.

How do I set the proxy to be used by the JVM

To set the proxy to be used by the Java Virtual Machine (JVM), you can use the -Dhttp.proxyHost, -Dhttp.proxyPort, and -Dhttp.nonProxyHosts options when starting the JVM.