Archive for May, 2006

Email HTML page contents using PHP

May 17, 2006 (posted by Melanie)

Earlier post explained on how to send a plain email using PHP. This time, we are discussing about sending page contents to email. This technique is based on output buffering. Basically, it would first create read a html file and store in buffer using ob_start(). Next step is to include desire HTML page using include function and then store the contents of that HTML page using ob_get_contents(). Finally use mail() function to send email.


You are currently browsing the Design Gala weblog archives for May, 2006.

English flagDutch flagFrench flagGerman flagJapanese flagPortuguese flagRussian flagSpanish flag