Re: Output to File Instead of Browser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2013-08-20, at 12:38 PM, Floyd Resler <fresler@xxxxxxxxxxxxx> wrote:

> 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
> 

I guess it depends on how your code is structured. I have older coder where the HTML is all one string so a file_put_contents($html, $filename); works simply. 



Bastien Koert
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux