|
Posted by Philip Ronan on 06/16/05 16:08
"Desmond" wrote:
> Thanks it is redirecting now but I am not getting my emails sent to me.
> it's only 10 lines
> of PHP which I am new to.
>
> the site is http://www.des-otoole.co.uk/Email-3.html and the code in
> php is
>
> <?php
> $to = $_POST["to"];
> $from = $_POST["from"];
> $sss = $_POST["subject"];
> $mmm = $_POST["message"];
> $headers = "From: $from\r\n";
> $success = mail($to, $sss, $mmm, $headers);
> header('Location: acknowledge.html');
> exit;
> ?>
>
> any sugestions.
>
> Desmond
>
/bangs head on desk/
Congratulations, you've just created your first spam engine. Now just sit
back and watch your site's bandwidth go through the roof as spammers all
over the world use your handy script to tell everyone about their viagra
pills and penis extension kits.
Of course, your web hosting company will probably get a bit annoyed after a
while. I'd say you have about 48 hours left before they pull the plug on
your website.
--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
Navigation:
[Reply to this message]
|