RE: [PHP] Saving page through http
| From: | Maxim Maletsky | Date: | Wed, 06 Sep 2000 12:51:09 +0000 |
| Subject: | RE: [PHP] Saving page through http | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15511@lists.php.net to get a copy of this message | ||
there is only one way I can think about :
ANY or only NEEDED output generated by that page save always as variables,
then when in the moment all is done and you need to generate the page use:
echo $all_your_vars; after what fopen(); and write into a file all those
variables. then the next lines would suggest to open a file, or you can
include it ... like write a file, and on the bottom of the script include
the freshly written file ...
NOTE: for if and while statements make use of : $var1 .=var2; , just a
tip...
-----Original Message-----
From: Martin [mailto:martin@thomatechnik.de]
Sent: Wednesday, September 06, 2000 9:41 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Saving page through http
> I am writing a webshop and my client wants me to send a copy of the
> generated bill via e-mail to them.
How the page is generated ? You could not get the html-code of the
referrer-page from php, you will have to re-generate it.
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net