zfred09 Posted January 12, 2007 Share Posted January 12, 2007 I'm writing html/php to a new file once it is created using the output buffering function, but if I put any php code inside the part that is being buffered it won't show up on the rewritten page. Could this possible have to do with php being executed server side? Or is there an easier way to write code to a new file that is being automatically created besides the ob function? Link to comment https://forums.phpfreaks.com/topic/33852-php-and-output-buffering/ Share on other sites More sharing options...
zfred09 Posted January 12, 2007 Author Share Posted January 12, 2007 Nevermind I was able to write php to a file using scotmcc's method on this thread [url=http://www.phpfreaks.com/forums/index.php/topic,122055.0.html]http://www.phpfreaks.com/forums/index.php/topic,122055.0.html[/url] Unless there is a better/and or easier way to do it Link to comment https://forums.phpfreaks.com/topic/33852-php-and-output-buffering/#findComment-158870 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.