PHP Mail Script?
From: Tosha (tosha_at_mad.scientist.com)
Date: 08/30/04
- Next message: Christian Fersch: "Re: PHP / MYSQL - sql injection"
- Previous message: niusy: "the url must be send by script"
- Next in thread: Gernot Frisch: "Re: PHP Mail Script?"
- Reply: Gernot Frisch: "Re: PHP Mail Script?"
- Reply: Manuel Lemos: "Re: PHP Mail Script?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 30 Aug 2004 12:08:03 +0200
Is there any diffrence in writing the script running on Linux/apache and
win/IIS?
This is my script:
<?
$Surname = $_POST['Surname'];
$Name = $_POST['Name'];
$NameSurname = "$Name $Surname";
$sendto = "vladimir.tosovic1@du.htnet.hr";
$subject= $NameSurname;
$body = $_POST['Text'];
if(mail($sendto,$subject,$body))
{phpinfo();}
else {echo "Sending message failed"}
?>
...and it works fine on my localserver, but on the web server like
100webspace.com reports "Sending message failed".
- Next message: Christian Fersch: "Re: PHP / MYSQL - sql injection"
- Previous message: niusy: "the url must be send by script"
- Next in thread: Gernot Frisch: "Re: PHP Mail Script?"
- Reply: Gernot Frisch: "Re: PHP Mail Script?"
- Reply: Manuel Lemos: "Re: PHP Mail Script?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|