dynamic -> static html

From: Date: Mon, 14 Mar 2005 08:38:31 +0000
Subject: dynamic -> static html
Groups: php.windows 
Request: Send a blank email to php-windows+get-25740@lists.php.net to get a copy of this message
Hi NG. I'm trying to re-make a script I once had to make static html out of some dynamic sites. I'm having trouble though, I can't recall how I got the script output to a file instead of to the screen/browser. I use a local apache server to run the script from and it's supposed to fetch the output from a remote script. What I'm trying to do is this: ---------------------------- [local apache]: fetch.php requests http://www.domain.com/index5.php from [remote apache] [local apache]: fetch.php saves the output (from index5.php above) to index.html on the local server. This is fairly simple I know, but I've forgotten how I did it last time. Any help would be much appreciated. PS. I have access to the remote server as well if running fetch.php from there would make any difference. /Aidal

« previous php.windows (#25740) next »