Jump to content

PHP and Output Buffering


zfred09

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.