Jump to content

email php page


delmardata

Recommended Posts

I have a shopping cart application that creates an order from the cart.  When the user 'confirms', the order header record (one) and order detail records (many) are created. A 'printer friendly' page is generated for the user to print a copy of the order.  I would like the ability to email this page.  In my past programming world I could print the page to a text file.  Then I could use something like the php mail function mail($to, $subject, $message); where $message is the text file.  Is it possible to email a page under the circumstances I describe?  Is there a PHP command to print to a file instead of print to printer? Or is there some simple way to do this?

Dennis
del mar data systems
[email protected]
Link to comment
https://forums.phpfreaks.com/topic/21219-email-php-page/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.