eatc7402 Posted April 26, 2006 Share Posted April 26, 2006 I am thinking about writing an app that parses a 'script' written in php that is mostly html code but withphp 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 Link to comment https://forums.phpfreaks.com/topic/8416-output-rediredtion/ Share on other sites More sharing options...
toplay Posted April 26, 2006 Share Posted April 26, 2006 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] Link to comment https://forums.phpfreaks.com/topic/8416-output-rediredtion/#findComment-30813 Share on other sites More sharing options...
eatc7402 Posted April 26, 2006 Author Share Posted April 26, 2006 Super! Just the help I needed. Thanks. Link to comment https://forums.phpfreaks.com/topic/8416-output-rediredtion/#findComment-30980 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.