I would like to use a cURL function, but I\'m behind a proxy, so I get an HTTP/1.1 407 Proxy Authentication Required
error...
This is the php code I use
Assuming the $proxy_user:$proxy_pass
are the correct values, if you are behind an office firewall the authentication credentials to be used would be that of a network administrator and not your own...I've encountered something very similar in my work environment and that was the case for me as my normal credentials didn't have the necessary privileges. The best way to ensure that this is the case however would be to ensure the code works in an open network with your proxy settings commented. Hope this helps!