basic-php-11-viewpostcard.php / php
<?php _GET['id']; require('./includes/conn_comic.php'); id'"; sql, pcarray = mysql_fetch_array(path = "http://" . _SERVER['PHP_SELF']),"/")); if (!is_array(to = toname = from = fromname = bcc = cc = subject = postcard = messagebody = html_msg .= "<table width=\"500\" border=0 cellpadding=\"4\">"; <tr><td>Greetings, toname!"; </td></tr><tr><td>"; html_msg .= "<br>Enjoy!"; html_msg .= "</td></tr><tr><td align=\"center\">"; <img src=\"postcard\" border=\"0\">"; </td></tr><tr><td align=center>"; html_msg .= html_msg .= "</td></tr></table>"; echo <<<EOD <html> <head> <title>Viewing postcard for </title> </head> <body> html_msg </body> </html> EOD; ?>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.