Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Capturing PHP output
March 21, 2005, 12:25 pm
rate this thread
Hi, i posted a couple of days ago asking what the best way to capture
the output of a php array was (this would then be sent as a html
email) and was advised to use the functions ob_start and ob_get_clean,
unfortunatlly the server that i'm using only supports php 4.1.2 which
doens't support these functions.
Can anyone else reccommend a quick easy way to literally grab the html
on a page and save it as a variable so that it can be saved/emailed,
any help would be greatly appreciated.
Re: Capturing PHP output
Carved in mystic runes upon the very living rock, the last words of Ian N
of comp.lang.php make plain:
(PHP 4 , PHP 5)
Phorm PHP Form Processor