topical media & game development
basic-php-11-confirm.php / php
<?php
_GET['id'];
require('./includes/conn_comic.php');
id'";
sql, pcarray = mysql_fetch_array(pcarray)) {
echo "Oops! Nothing to confirm. Please contact your administrator";
exit;
}
pcarray["to_email"];
pcarray["toname"];
pcarray["from_email"];
pcarray["fromname"];
pcarray["bcc_email"];
pcarray["cc_email"];
pcarray["subject"];
pcarray["postcard"];
pcarray["message"];
headers = "MIME-Version: 1.0\r\n";
boundary\"\r\n";
if (!headers .= "CC: " . bcc == "") {
bcc . "\r\n";
}
from . "\r\n";
html_msg .= "<table width=\"500\" border=0 cellpadding=\"4\">";
toname!";
html_msg .= "html_msg .= "</td></tr><tr><td align=\"center\">";
postcard\" border=\"0\">";
html_msg .= html_msg .= "</td></tr></table></center>";
message .= "--message .= "Content-type: text/html; charset=iso-8859-1\n";
message .= message .= "--message .= "Content-Type: text/plain; charset=\"iso-8859-1\"\n";
message .= message .= "--mailsent = mail(subject, headers);
?>
<html>
<head>
<title>Postcard Sent!</title>
</head>
<body>
<?php
if (to<br>";
echo "<b>From:</b> subject<br>";
echo "<b>Message:</b><br>";
echo
(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.