Announcement

Collapse
No announcement yet.

simple email/order form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • simple email/order form

    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:

    </FORM>
    </DIV>
    <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>
    </FORM>

    and this is my php file:

    <HTML>
    <HEAD>
    <TITLE>Ordine Inviato</TITLE>
    </HEAD>
    <BODY>
    <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>

    <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = "?????@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);
    ?>
    </BODY>
    </HTML>

  • #2
    Re: simple email/order form

    lallett,

    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.

    Andy
    PHP- is a blast!

    Comment


    • #3
      Re: simple email/order form

      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
      thanks!!!

      Comment


      • #4
        Re: simple email/order form

        lallett,

        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;
        http://www.netisopen.com/test/mailtoscript.html

        Andy
        PHP- is a blast!

        Comment


        • #5
          Re: simple email/order form

          Se vuoi ti posso preparare lo script che ti serve. Contattami usando il mio modulo di contatto. Anche se usare BlueVoda fuori dai server VodaHost ti toglie tutte le caratteristiche dinamiche di BV....
          Navaldesign
          Logger Lite: Low Cost, Customizable, multifeatured Login script
          Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
          DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
          Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

          Comment


          • #6
            Re: simple email/order form

            thanks so much!!!!!!! grazie!!!!!! :))

            Comment


            • #7
              Re: simple email/order form

              La tua email, laura..........@ inwind.it inviatami, non risulta corretta, quindi non posso contattarti. Controlla e rispedisci per cortesia
              Navaldesign
              Logger Lite: Low Cost, Customizable, multifeatured Login script
              Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
              DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
              Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

              Comment

              Working...
              X