so so so close now. its working with no errors, im getting sent the information, and they are getting sent a reply, its just the reply comes in txt format not html.
Bcc:
<p><font color="#B60000" size="5" face="Arial, Helvetica,
sans-serif"><strong>.:
Template Request Completed :.</strong></font></p>
<p><font color="#B60000" size="2" face="Arial, Helvetica,
sans-serif">Thank you
for the template request. Your request will be added to the list I
have stored
on my computer. Your template can be moved up on this list by
donating $5 to
the Stoned Devil Industries paypal account. After you have put this
money in
the account, and e-mail will be sent to you containing information
that I received
the transaction. Afterwards your template will be moved up on the
list to the
top, and will be done ASAP. Remember, I have other people paying, and
also paying
family/friends comes before people I dont know.</font></p>
<hr>
<p><font color="#B60000" size="2" face="Arial, Helvetica,
sans-serif">Remember this,
as said in the request forms, you must be a member of the Stoned
Devil Industries
forums, and have a post count of at least 5, or any request you send
will be
deleted. EVEN FOR PAYING CUSTOMERS (money will be refunded)!! I do
not yet have
a support ticket system, so i have to use the forums as a support
section, so
make sure you are a member. If you are not when you sign up, you have
one day
before i will delete your request, to sign up on my forums.
</font></p>
<hr>
<font color="#B60000" size="2" face="Arial, Helvetica, sans-serif"><br>
Sincerely,<br>
Corey D. Eacret<br>
STD Inc. Management Team<br>
<br>
</font>
<hr>
<div align="left"><font color="#B60000" size="2" face="Arial,
Helvetica, sans-serif"><br>
You are receiving this e-mail becuase you submited a request form on
<a href="http://www.stoneddevilinc.com." target="_blank"><a
href="http://www.stoneddevilinc.com." target="_blank"><a
href="http://www.stoneddevilinc.com."
target="_blank">[url]http://www.stoneddevilinc.com.[/url]</a></a></a>
THIS IS NOT SPAM. If you did not request this, send an e-mail to <a
href="mailto<img src="images/smilies/redface.gif" border="0"
alt="">rionleingod@gmail.com">orionleingod@gmail.com</a>
with subject "CANCEL REQUEST" and nothing in the body. If
you would
not like to receive anymore updates about this request, send an
e-mail to <a href="mailto<img src="images/smilies/redface.gif" border="0"
alt="">rionleingod@gmail.com">orionleingod@gmail.com</a>
with the subject "UNSUBSCRIBE REQUEST".<br>
</font><font color="#B60000" size="3" face="Arial, Helvetica,
sans-serif"><br>
</font>
<hr>
<div align="center"><font color="#B60000" size="3" face="Arial,
Helvetica, sans-serif"><br>
</font><font color="#B60000" size="2" face="Arial, Helvetica,
sans-serif"><font size="1">Copyright ©
2005 Stoned Devil Industries<br>
Web Design Division<br>
<a href="http://www.stoneddevilinc.com" target="_blank"><a
href="http://www.stoneddevilinc.com" target="_blank"><a
href="http://www.stoneddevilinc.com"
target="_blank">[url]http://www.stoneddevilinc.com[/url]</a></a></a></font></font><font
color="#B60000" size="3" face="Arial, Helvetica, sans-serif">
</font></div>
</div>
now heres the current php:
<?
ob_start();
$name = $_POST['name'];
$email = $_POST['email'];
$forumname = $_POST['forumname'];
$type = $_POST['type'];
$dificulty = $_POST['dificulty'];
$dname = $_POST['dname'];
$instructions = $_POST['instructions'];
$admin = "StonedDevil@stoneddevilinc.com\r\n";
$subject = $forumname . " Tutorial Request:\r\n";
if((!$name) || (!$email) || (!$forumname) || (!$type) || (!$dificulty) || (!$dname) || (!$instructions)) {
header("Location: tutorial_request_form.php?error=1");
}
$message = "Tutorial Request By:\r\n\r\n " . $forumname . "\r\n";
$message .= "-------------------------------\r\n";
$message .= "Name: " . $name . "\r\n";
$message .= "E-mail: " . $email . "\r\n";
$message .= "Forum Name: " .$forumname . "\r\n";
$message .= "-------------------------------\r\n";
$message .= "Tutorial Type: " . $type . "\r\n";
$message .= "Tutorial Dificulty: " . $dificulty . "\r\n";
$message .= "TDisplay Name? " . $dname . "\r\n";
$message .= "Other Indtructions: " . $instructions . "\r\n";
$to = "orionleingod@gmail.com";
$subject = "Tutorial Request By: " . $forumname . "\r\n";
$headers = "From: " . $email . "\r\n" . "Bcc: " . $bcc . "\r\n";
mail($to, $subject, stripslashes($message), $headers);
?>
<?php
function reply() {
$rep = <<<EOD
<p><font color="#B60000" size="5" face="Arial, Helvetica, sans-serif"><strong>.:
Template Request Completed :.</strong></font></p>
<p><font color="#B60000" size="2" face="Arial, Helvetica, sans-serif">Thank you
for the template request. Your request will be added to the list I have stored
on my computer. Your template can be moved up on this list by donating $5 to
the Stoned Devil Industries paypal account. After you have put this money in
the account, and e-mail will be sent to you containing information that I received
the transaction. Afterwards your template will be moved up on the list to the
top, and will be done ASAP. Remember, I have other people paying, and also paying
family/friends comes before people I dont know.</font></p>
<hr>
<p><font color="#B60000" size="2" face="Arial, Helvetica, sans-serif">Remember this,
as said in the request forms, you must be a member of the Stoned Devil Industries
forums, and have a post count of at least 5, or any request you send will be
deleted. EVEN FOR PAYING CUSTOMERS (money will be refunded)!! I do not yet have
a support ticket system, so i have to use the forums as a support section, so
make sure you are a member. If you are not when you sign up, you have one day
before i will delete your request, to sign up on my forums. </font></p>
<hr>
<font color="#B60000" size="2" face="Arial, Helvetica, sans-serif"><br>
Sincerely,<br>
Corey D. Eacret<br>
STD Inc. Management Team<br>
<br>
</font>
<hr>
<div align="left"><font color="#B60000" size="2" face="Arial, Helvetica, sans-serif"><br>
You are receiving this e-mail becuase you submited a request form on <a href="http://www.stoneddevilinc.com." target="_blank"><a href="http://www.stoneddevilinc.com." target="_blank"><a href="http://www.stoneddevilinc.com." target="_blank">[url]http://www.stoneddevilinc.com.[/url]</a></a></a>
THIS IS NOT SPAM. If you did not request this, send an e-mail to <a href="mailto<img src="images/smilies/redface.gif" border="0" alt="">rionleingod@gmail.com">orionleingod@gmail.com</a>
with subject "CANCEL REQUEST" and nothing in the body. If you would
not like to receive anymore updates about this request, send an e-mail to <a href="mailto<img src="images/smilies/redface.gif" border="0" alt="">rionleingod@gmail.com">orionleingod@gmail.com</a>
with the subject "UNSUBSCRIBE REQUEST".<br>
</font><font color="#B60000" size="3" face="Arial, Helvetica, sans-serif"><br>
</font>
<hr>
<div align="center"><font color="#B60000" size="3" face="Arial, Helvetica, sans-serif"><br>
</font><font color="#B60000" size="2" face="Arial, Helvetica, sans-serif"><font size="1">Copyright ©
2005 Stoned Devil Industries<br>
Web Design Division<br>
<a href="http://www.stoneddevilinc.com" target="_blank"><a href="http://www.stoneddevilinc.com" target="_blank"><a href="http://www.stoneddevilinc.com" target="_blank">[url]http://www.stoneddevilinc.com[/url]</a></a></a></font></font><font color="#B60000" size="3" face="Arial, Helvetica, sans-serif">
</font></div>
</div>
EOD;
return $rep;
}
$replymessage = reply();
$replyto = $email;
$replysubject = "Tutorial Request Received.\r\n";
$headers = "From: " . $admin . "\r\n" . "Bcc: " . $bcc . "\r\n";
mail($replyto, $replysubject, $replymessage, $headers);
header("Location: tutorial_request_form.php?complete=1");
ob_end_flush();
?>