RE: [PHP] Saving page through http

From: Date: Wed, 06 Sep 2000 13:02:01 +0000
Subject: RE: [PHP] Saving page through http
Groups: php.general 
Request: Send a blank email to php-general+get-15520@lists.php.net to get a copy of this message
here's your page layout: <html> <head> </head> <body> <? $data_to_output_later .='PHP staff... '; $data_to_output_later .=' process whatever you'; $data_to_output_later .=' need to.... '; // at the bottom: $myFile = fopen(your_file.txt,"w"); fputs($myFile,'<html><head></head><body>'.$data_to_output_later.'</body></ht ml>'); fclose($myFile); ?> and here: <? include 'your_file.txt'; mail(bla bla bla); ?> </body> <html> -----Original Message----- From: Tero Ripattila [mailto:tero.ripattila@nic.fi] Sent: Wednesday, September 06, 2000 9:55 PM To: php-general@lists.php.net Subject: Re: [PHP] Saving page through http "Martin" <martin@thomatechnik.de> wrote in message news:39B63EB3.CAC8AAB4@thomatechnik.de... > > The pages are like this > > 1. get an order. > > 2. process the order. ask verification for the user. > > 3. generate a bill. save it to log and email it. > > I cannot rely on that fact the user will press the button (save tha page). > > it have to be done automaticly. > > Where are you sending the email: Between 2-3 or after 3 ? in the bottom of page three. -- 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

« previous php.general (#15520) next »