Re: Output to File Instead of Browser

From: Date: Tue, 20 Aug 2013 18:17:07 +0000
Subject: Re: Output to File Instead of Browser
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-321914@lists.php.net to get a copy of this message
On 2013-08-20, at 12:38 PM, Floyd Resler <fresler@adex-intl.com> 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

« previous php.general (#321914) next »