Thread: PHP Question
View Single Post
Old 12-31-2003, 06:50 AM  
pornanza
Confirmed User
 
Join Date: Jul 2003
Location: East Village
Posts: 238
$file = fopen('index.html', 'w');

fwrite($file, '<html>');

fwrite($file, 'lots of content here');

fwrite($file, '</html>');

fclose($file);


instead of echoing the HTML to user, write the information to a file.

ryan
__________________
Eskimo Hoe
QuickWank
Pornanza!
pornanza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote