I really need some help I have this emailing system for my website that is PHP based, and some of my e-mailers have been complaining that they can't put attachments in the email (such as images, video, etc.). Unfortunately I haven't added that as an option yet. so can somebody help me incorporate that feature into the script i already have.
This the part of my script that send out the information
/*Type anything but all spam and pornographic content will be blocked*/
$emailSubject = 'Stefanscorner.com (Email)';
$webMaster = 'email address here';
/*Gathering Data Variables*/
$nameField = $_POST ['name'];
$emailField = $_POST ['email'];
$commentsField = $_POST ['comments'];
$body = <<< EOD
$headers = "From: $email\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body, $headers);
/* Results rendered as HTML */
$theResults = <<< EOD
Thanks in advance.
2 replies to this topic
Posted 22 May 2010 - 04:09 AM
Posted 11 June 2010 - 07:24 PM
Come on anytime now. With an answer.
Posted 07 August 2010 - 01:08 AM
To the mail() call, take a look in this tutorial: http://www.webcheats....php#attachment
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users