Page 1 of 1

steer the php output into a file

Posted: Tue Feb 04, 2003 3:37 am
by mono
Hello,

I want to (regularly and) automatically save a page of my homepage. I only found php functions that read html-code from files, but not the output from parsing these php files.
Can anybody help me?

Mono

Posted: Tue Feb 04, 2003 4:35 am
by bionicdonkey
hmm...are you just trying to save to web page client-side?? if so you can open the web page the same as you would a file in php and read the contents into a string then write it to file