This is a discussion on Mailform within the PHP Language forums, part of the PHP Programming Forums category; Hi, i am a newbie with php . Why does the following not work on lycos free account??????? <?PHP $to = $...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
"FiremanSAM" <firemansam@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 > |
|
|||
|
"FiremanSAM" <firemansam@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 |