I need to build a proxy for a Flash Player project I’m working on. I simply need to make a HTTP GET request with HTTP-Basic authentication to another URL, and serve the response from PHP as if the PHP file was the original source. How can I do this?
Share
Using
file_get_contents()with astreamto specify the HTTP credentials, or usecurland theCURLOPT_USERPWDoption.