Re: http_get behind a proxy

new topic     » goto parent     » topic index » view thread      » older message » newer message


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.html 
then do something like

sleep(1) 
junk = system_exec(YourBatFileName,2) 

then read the file into your program.

useless

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu