471,316 Members | 1,026 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,316 software developers and data experts.

Mailform

Hi,

i am a newbie with php .

Why does the following not work on lycos free account???????

<?PHP
$to = $_POST["to"];
$from = $_POST["from"];
$mes = $_POST["mes"];
mail($to, $from, $mes);
?>

Up this is a html form with fields to from and mes.

what is the simplest mailform.

FiremanSAM
Jul 16 '05 #1
2 3750
RG

"FiremanSAM" <fi********@co.uk> wrote in message
news:6hm7b.3066$P51.5223@amstwist00...
Hi,

i am a newbie with php .

Why does the following not work on lycos free account???????

<?PHP
$to = $_POST["to"];
$from = $_POST["from"];
$mes = $_POST["mes"];
mail($to, $from, $mes);
?>

Up this is a html form with fields to from and mes.

what is the simplest mailform.

FiremanSAM

Probably because they don't want people abusing their mailservers.
If you get proper hosting, your script will work.

RG


Jul 16 '05 #2

"FiremanSAM" <fi********@co.uk> skrev i meddelandet
news:6hm7b.3066$P51.5223@amstwist00...
Hi,

i am a newbie with php .

Why does the following not work on lycos free account???????

<?PHP
$to = $_POST["to"];
$from = $_POST["from"];
$mes = $_POST["mes"];
mail($to, $from, $mes);
?>

Up this is a html form with fields to from and mes.

what is the simplest mailform.

FiremanSAM

If you run phpinfo() you will see a lot of things are disabled

ofor
Jul 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by Christopher Brandsdal | last post: by
10 posts views Thread by Adrian | last post: by
3 posts views Thread by Gert-Jan van Middelkoop | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.