By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,712 Members | 1,503 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,712 IT Pros & Developers. It's quick & easy.

very quick php email question

P: n/a
hi all, a quick question...

been doing a bunch of reading this morning, the web and here, and am
curious whether or not an html/php page that is displayed on the screen
(with unique information) can also be sent via email without actually
having to go through and have another page recreate the page using the
$header = "this", $header .= "that" process? Im thinking, php creates the
page the standard way, the last part of it would send the email, then the
page would also be sent for viewing on screen. Closest thing that comes to
mind is do the email page first the normal way, then post the $header to
the display page.... and simply print it.

thoughts?

thanks :o)
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Theo <in*****@noemail.com> wrote:
[mail output of page]
Closest thing that comes to
mind is do the email page first the normal way, then post the $header to
the display page.... and simply print it.

thoughts?


Output Control: http://nl.php.net/manual/en/ref.outcontrol.php

<?php
ob_strart();
//usual stuff

$body=pb_get_contents();
ob_end_flush();

mail();
?>
--

Daniel Tryba

Jul 17 '05 #2

P: n/a
Daniel Tryba <ne****************@canopus.nl> wrote in
news:cl**********@news.tue.nl:
Theo <in*****@noemail.com> wrote:
[mail output of page]
Closest thing that comes to
mind is do the email page first the normal way, then post the $header
to the display page.... and simply print it.

thoughts?


Output Control: http://nl.php.net/manual/en/ref.outcontrol.php

<?php
ob_strart();
//usual stuff

$body=pb_get_contents();
ob_end_flush();

mail();
?>


Thank You, I use the manual all the time but sometimes helps to know
which keywords to use... or the function names ;o)
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.