TechSpider
A searchable, categorised online resourse for finding technical information and solutions to problems
Welcome! You are viewing the programming category.
Below are the PHP and Nasty hacker spammer script related pages
Custom Search
You can search the database for more PHP articles using the box below:
Custom Search

PHP Articles:

PHP eMailer) .




!! Smart-z3r0-hima-roost
!! PHP Mailer




Your Email:










Your Name:










Reply-To:










Attach File:










Subject:









<? print $message; ?>

Plain



HTML





<? print $emaillist; ?>





<?

if ($action){



if (!$from && !$subject && !$message && !$emaillist){

print "Please complete all fields before sending your message.";

exit;

}

$allemails = split("\n", $emaillist);
$numemails = count($allemails);

for($x=0; $x<$numemails; $x++){

$to = $allemails[$x];

if ($to){

$to = ereg_replace(" ", "", $to);

$message = ereg_replace("&email&", $to, $message);

$subject = ereg_replace("&email&", $to, $subject);

print "Sending mail to $to.......";

flush();

$header = "From: $realname <$from>\r\nReply-To: $replyto\r\n";

$header .= "MIME-Version: 1.0\r\n";

$header .= "Content-Type: text/$contenttype\r\n";

$header .= "Content-Transfer-Encoding: 8bit\r\n\r\n";

$header .= "$message\r\n";

mail($to, $subject, "", $header);

print "ok";

flush();


}

}



}



?>
PHP Mailer) .
<?php
if(isset($_POST['action']) && $numemails !==0 ){echo "";}
?>





 






Article list Name Date
Currently Viewing : This ArticleThe Doctor2009-05-11 23:59:59
Click Here Ashley Sheridan 2009-05-12 06:40:57
Click Here Nathan Rixham 2009-05-12 10:36:59
Click Here The Doctor 2009-05-12 13:03:13


Copyright Techspider V0.81   |   Techspider Sitemap