Hi, I was trying to access an external url using file_get_contents(), from my workplace. But here they are using a proxy server and need authentication. I have the credentials but dont know how to use that in php. I know we can use curl for this but i want to do it in simple php. Can somebody help me. Thanks in advance.
I'm afraid the only options you have are curl, unless you can pass the authentication in the url itself - probably not though.