> 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 links that let you
> mail a page to a friend on some sites.  Any help would be much
> appreciated.
> 
> Thanks,
> Brett
Lets be clear. Do you want to send the page or just the important values 
from the page?

One way I do this is like this:
$successPage =<<<EOF
<center><h1>SUCCESS!!</h1></center>
lots of 
stuff
here.
A whole html page.
EOF

then you mail it like this
   mail('order.money.com', $headers, $successPage);

or you just loop through all the post vars and build a body from that and 
mail it.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to