I am writing a web monitoring script as a side project... everything is working great except that I want to add the functionality of checking a site from multiple locations... Is there a way I can call a site through a proxy server and get correct results? Or do I need to have my scripts running on servers that are physically in different locations that send info to my central server?
If the second option is the right route, how do coordinate all the scripts with a single cron job on the central server?
To run from a proxy server you may use http://php.net/curl and use options like:
CURLOPT_PROXY, CURLOPT_PROXYPORT, CURLOPT_PROXYUSERPWD ("user:pass")
There are examples on the web https://www.google.com/search?q=php+curl+proxy
Update // Never used, I cannot say I'm an expert it's just a hint.
Hi carpekd, please don't bump threads on SitePoint. If you are not getting an answer it is likely that either people don't have an answer, don't understand what you are asking or haven't see it yet. @vectorialpx did respond but next time Instead of bumping try asking your question in a different way.
This topic is now closed. New replies are no longer allowed.