steer the php output into a file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mono
Forum Newbie
Posts: 1
Joined: Tue Feb 04, 2003 3:37 am

steer the php output into a file

Post 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
bionicdonkey
Forum Contributor
Posts: 132
Joined: Fri Jan 31, 2003 2:28 am
Location: Sydney, Australia
Contact:

Post 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
Post Reply