On Tue, January 18, 2005 2:42 pm, Chris Bruce said: > This is a great solution, except I cannot get PHP to exec the file that > has the 'wget' command in it. > > What I have done is to create a file (wget.php) into the directory that > I want to wget the page into. I then chmod -R the directory to make > everything in it executable. here is what is written to the file: > /usr/bin/wget -d http://path/to/file/index.html > put this at the begining of wget.php #!/bin/sh HTH -R'twick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php