email html

From: yacobson (yacobson_at_earthlink.net)
Date: 10/24/04

  • Next message: Brian Peyton: "Getting a file via http or evaluating a php file and getting it's output"
    Date: Sun, 24 Oct 2004 03:34:33 GMT
    
    

    PHP 4.2.2

    Is there a way to send current displayed page (html output) as a body of an
    email message ?
    I have a button at the end of this page to send it to the user. the content
    of the page is different for each user viewing it.

    tried
    mail($address,
    $subject,file_get_contents("http://someserver.com/success.php"));
    but the file_get_contents() is for php 4.3 and up.

    Thank : )


  • Next message: Brian Peyton: "Getting a file via http or evaluating a php file and getting it's output"
  • Quantcast