Thread: php help needed
View Single Post
Old 08-10-2003, 11:24 AM  
MarcS
Confirmed User
 
Join Date: Aug 2002
Posts: 139
php help needed

I'm trying to do this
exec("wget http://www.gofuckyourself.com --output-document=/home/marc/test/test.html",$output);

but that returns
wget: missing URL
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.

but when I execute this
wget http://www.gofuckyourself.com --output-document=/home/marc/test/test.html
through telnet it works

any ideas?
MarcS is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote