Simplepie proxy support Simplepie proxy support curl curl

Simplepie proxy support


For SimplePie 1.3.1

You must do a modification to one of the files: File.php

Line 112, you must add the following line to be able to pass your PROXY:

// Patch curl_setopt($fp, CURLOPT_PROXY, "proxy_name");curl_setopt($fp, CURLOPT_PROXYPORT, "proxy_port"]);curl_setopt($fp, CURLOPT_HTTPAUTH, CURLAUTH_ANYSAFE );curl_setopt($fp, CURLOPT_PROXYUSERPWD, "proxy_user:proxy_password");

Of course you must replace proxy_name by the server name, proxy_port by the used port, proxy_user by user name (could be of the form "domain\login" when NTLM is used) and proxy_password as password of the user in clear text.

Regards,Tomolimo