Re: [PHP] stumped on mailing a complete page

2001-03-05 Thread Chris Adams
On 3 Mar 2001 17:17:15 -0800, Brett [EMAIL PROTECTED] wrote: I want to send a confirmation email upon receiving an order, and would like to send the page that I display on the browser to the user. ob_start(); // do something mail('confirm@somewhere', 'confirmation', ob_get_contents());

[PHP] stumped on mailing a complete page

2001-03-03 Thread Brett
This question may have been asked a million times, but I have had no luck searching for a difinitive answer. I want to send a confirmation email upon receiving an order, and would like to send the page that I display on the browser to the user. I can not figure out how to send a page, like the

Re: [PHP] stumped on mailing a complete page

2001-03-03 Thread Lewis Bergman
This question may have been asked a million times, but I have had no luck searching for a difinitive answer. I want to send a confirmation email upon receiving an order, and would like to send the page that I display on the browser to the user. I can not figure out how to send a page,

Re: [PHP] stumped on mailing a complete page

2001-03-03 Thread kevin1
use $filearray = file("http://www.yourstite.com/yourscript.php?some_vars=whatever"); then $body = join (" ",$filearray); mail($to $subject,$body); or something like that. Maybe readfile() may be of use here to. You just want to read the page in as a string, so make sure that you use some

Re: [PHP] stumped on mailing a complete page

2001-03-03 Thread Simon Garner
From: "Brett" [EMAIL PROTECTED] This question may have been asked a million times, but I have had no luck searching for a difinitive answer. I want to send a confirmation email upon receiving an order, and would like to send the page that I display on the browser to the user. I can not