Re: [PHP] Output to File Instead of Browser

[email protected] (Daniel Pöllmann)
Newsgroups php.general
Message-ID <CADcRTSLv_Qz2B295X7y+MWVCDNuk2zRmqXU6H6voVgoM5Jo7tg@mail.gmail.com>
Buffering is the more comftable way because if you write all html to a
variable, output that might be created in a function, you did not modify
will not be included.

Non critical errors that create an output (notice/warning) will not ve
included as well.

Another way would be to create a script which makes a http request to the
output script and saves the response to the file

Daniel
Am 20.08.2013 18:39 schrieb "Floyd Resler" <[email protected]>:

> I have a php file that generates a form.  Of course, this displays in the
> browser.  How can I have the form generated from my script but either saved
> to a file or the output returned to another script?
>
> Thanks!
> Floyd
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.