Re: http_get behind a proxy
- Posted by useless Aug 10, 2011
- 2213 views
Write a .bat file such as:
set http_proxy=http://ip-number:port-number/ c:\wget\wget.exe -k --connect-timeout=60 -nc -PE:\asubdir\ -oE:\log-this4.txt -w60 -Dsomedomain.com -x --user-agent="Mozilla/3.0" -e robots=off http://somedomain.com/path/filename.htmlthen do something like
sleep(1) junk = system_exec(YourBatFileName,2)
then read the file into your program.
useless