php - how to check, if the server can handle curl connection thru proxy AND validate proxies from the list? -


how check, if server can handle curl connection thru proxy , validate proxies list?

curl requests can simulate normal request browser, there no difference on how servers respond curl.

whether or not server accepts proxy connection depends on if proxy transparent or not. transparent proxy disguises there no evidence connection coming proxy. non-transparent proxy provide x-proxy-* headers in http request.

to test whether proxy works, set curl_proxytype type of proxy using, curl_proxy option proxy host, , curl_proxyport proxy's port.. , make normal request.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -