Jump to content

Archived

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

eatc7402

Output rediredtion

Recommended Posts

I am thinking about writing an app that parses a 'script' written in php that is mostly html code but with
php database substitions in certain places. I would like toi instead sending the output of the program to a browser, to send the output to a FILE, which would end up with an .htm extension.

But, I have been searching for a way to REDIRECT the normal program output to a file instead of the 'normal' browser.

How can this be done??

DavidF

Share this post


Link to post
Share on other sites

Start here:

[a href=\"http://us2.php.net/manual/en/ref.outcontrol.php\" target=\"_blank\"]http://us2.php.net/manual/en/ref.outcontrol.php[/a]

Share this post


Link to post
Share on other sites

×

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.