View Full Version : simple email/order form

07-12-2006, 02:12 PM
after having watched the 2 blue voda tutorials on forms
and tried to follow the php mailto security tutorial instructions, I still cannot understand how to make required fields and set error messages.
can anybody help? I'm Italian and my English is limited!!! thanks so much!

this is my form:

<INPUT type="text" style="position:absolute;left:16px;top:369px;width:162px; font-family:Arial;z-index:7" size="27" name="n&#242;mene e sambin&#224;du" value="n&#242;mene e sambin&#224;du">
<INPUT type="text" style="position:absolute;left:16px;top:410px;width:174px; font-family:Arial;z-index:8" size="29" name="inderitziu de domo" value="inderitziu de domo">
<INPUT type="submit" name="invia" value="Ordina" style="position:absolute;left:15px;top:496px;z-index:9">
<TEXTAREA name="cum&#232;ntos" style="position:absolute;left:16px;top:451px;width:268px; height:28px;font-family:Arial;z-index:10" rows=0 cols=40>cum&#232;ntos</TEXTAREA>

and this is my php file:

<TITLE>Ordine Inviato</TITLE>
<H2><FONT style="FONT-SIZE:10pt" color="#000000" face="Arial">Gratzias! S'ordine tou est bist&#224;du imbi&#224;du in manera curretta,<p>as a retz&#236;re a presse sa cunfirma.</FONT></H2>

$email = $HTTP_POST_VARS[email];
$mailto = "?????@tiscali.it (?????2@tiscali.it)";
$mailsubj = "Ordine dal sito Osinka Editziones";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
$mailbody .= "$key : $val\n";
mail($mailto, $mailsubj, $mailbody, $mailhead);

07-12-2006, 02:31 PM

Please post your website url so that we may check it out. Once you do that- I will see if I can write a script that you can use.


07-12-2006, 03:31 PM
hi andy,
sorry I didn't give you the url
... and the form code I pasted on my help request was not correct!
the url I'm using to practise is www.lallett.altervista.org/osinka.html (http://www.lallett.altervista.org/osinka.html)

07-12-2006, 11:27 PM

I have done the best I can with setting up a script and instructions on how to create the error pages. I hope it is clear enough for you to follow.
You will find it here;


07-13-2006, 07:18 AM
Se vuoi ti posso preparare lo script che ti serve. Contattami usando il mio modulo di contatto (http://www.navaldesign.info/feedback13.html). Anche se usare BlueVoda fuori dai server VodaHost ti toglie tutte le caratteristiche dinamiche di BV....

07-13-2006, 08:35 AM
thanks so much!!!!!!! grazie!!!!!! :))

07-13-2006, 10:19 AM
La tua email, laura..........@ inwind.it inviatami, non risulta corretta, quindi non posso contattarti. Controlla e rispedisci per cortesia