Jan 28, 2007, 12:21 PM
Post #1 of 7
adding html to php scripts result
I have a php script 'index.php'
which returns this html code:
and sent it to the browser.
How do I capture it's code, add mine and return it to the browser as if it's the php's one.
User requested index.php
print("<b>This is by php</b>");
in some way perl script had been started
and then added this string to the output:
<b>This from perl</b>
And the user receives one page, named index.php
<b>This is by php</b><b>This from Perl</b>
Any manual at English or English Perl forum, or simple example.
Thank you ahead, Sasha.