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 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php