|
Posted by Peter Fox on 03/14/06 11:30
Following on from Q's message. . .
>Hi..
>
>This script has been abused to send to AOL. My question "How the ... did
>they do that???"
Good God! Where did you get such a naive script from?
>
>Regards,
> Marco
>
><?
>
>if($_POST[name] && $_POST[subject] && $_POST[text]) {
> $headers = "MIME-Version: 1.0\n";
> $headers .= "Content-type: text/html; charset=iso-8859-1\n";
> $headers .= "X-Priority: 3\n";
> $headers .= "X-MSMail-Priority: Normal\n";
> $headers .= "X-Mailer: php\n";
> $headers .= "From: \"".$_POST[name]."\" <".$_POST[email].">\n";
>
> mail('some@recipient.somewhere', "Website: ".$_POST[subject],
>nl2br($_POST[text]), $headers);
>
> echo "<META HTTP-EQUIV=Refresh CONTENT=\"2;
>URL=index.php?page=contact\">Mail sent....";
>}
>
>?>
>
>
--
PETER FOX Not the same since the cardboard box company folded
peterfox@eminent.demon.co.uk.not.this.bit.no.html
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>
Navigation:
[Reply to this message]
|