Re: Writing static file from dynamic PHP page

From: Date: Tue, 18 Jan 2005 19:57:19 +0000
Subject: Re: Writing static file from dynamic PHP page
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-206692@lists.php.net to get a copy of this message
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

« previous php.general (#206692) next »