+ Reply to Thread
Results 1 to 5 of 5

Thread: Form not working
      
   

  1. #1
    CGPhotoMom is offline Master Learner
    Join Date
    May 2005
    Location
    NWArkansas
    Posts
    37

    Default Form not working

    Hi, Sara sent me here from a support ticket to post html. My form quit working so I had to set up my contact.htp different temporarily until i get the contact.php fixed. I set the contact.php up to look like the rest of my pages but it is not sending the info to my email upon submit. Can you check it and tell me where I went wrong?


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>contact.php</title>
    </head>
    <body text="#ffffff" bgcolor="#000000" $email="$HTTP_POST_VARS[email];" $mailto="contact@caringlaser.com" $mailsubj="Information Request" $mailhead="From: $emailn" $val)="each" $mailbody="Values submitted from web site form:n" .="$key : $valn">>
    <div style="left: 828px; position: absolute; top: 85px;">
    <img height="865" alt="" src="handu_01_06.jpg" width="191" align="top" border="0"> </div>
    <div style="z-index: 1; left: 526px; position: absolute; top: 105px;">
    <img height="30" alt="" src="button_bg_01_06.gif" width="1" align="top" border="0"> </div>
    <div style="z-index: 2; left: 313px; position: absolute; top: 181px;">
    <img height="20" alt="" src="icon_kuula_01_06.gif" width="20" align="top" border="0"> </div>
    <div style="z-index: 3; left: 413px; position: absolute; top: 184px;">
    <img height="14" alt="" src="rating0_01_06.gif" width="64" align="top" border="0"> </div>
    <div style="z-index: 4; left: 1px; position: absolute; top: 0px;">
    <img height="226" alt="" src="sitelogob1_01_06.jpg" width="576" align="top" border="0"> </div>
    <div style="z-index: 5; left: 135px; width: 829px; position: absolute; top: 177px; height: 27px;">
    <table cellspacing="0" cellpadding="0" border="0">
    <tbody>
    <tr>
    <td valign="top" align="left" width="134" height="22"><a href="/index.html">
    <img height="22" alt="http://www.caringlaser.com/index.html" src="bv01003.gif" width="134" align="top" border="border=0"></a></td>
    <td width="4">&nbsp;</td>
    <td valign="top" align="left" width="134" height="22"><a href="/Coppermine/index.php">
    <img height="22" alt="http://www.caringlaser.com/Coppermine/index.php" src="bv01004.gif" width="134" align="top" border="border=0"></a></td>
    <td width="4">&nbsp;</td>
    <td valign="top" align="left" width="134" height="22"><a href="/products.html">
    <img height="22" alt="http://www.caringlaser.com/products.html" src="bv01005.gif" width="134" align="top" border="border=0"></a></td>
    <td width="4">&nbsp;</td>
    <td valign="top" align="left" width="134" height="22"><a href="/services.html">
    <img height="22" alt="http://www.caringlaser.com/services.html" src="bv01006.gif" width="134" align="top" border="border=0"></a></td>
    <td width="4">&nbsp;</td>
    <td valign="top" align="left" width="134" height="22"><a href="/events.html">
    <img height="22" alt="http://www.caringlaser.com/events.html" src="bv01007.gif" width="134" align="top" border="border=0"></a></td>
    <td width="4">&nbsp;</td>
    <td valign="top" align="left" width="134" height="22"><a href="/contact.html">
    <img height="22" alt="http://www.caringlaser.com/contact.html" src="bv01008.gif" width="134" align="top" border="border=0"></a></td></tr></tbody></table></div>
    <div style="z-index: 6; left: 289px; width: 400px; position: absolute; top: 286px; height: 61px;">
    <p align="center"><font style="font-size: 18pt;" face="Arial" color="#e6e6fa">Thank you!
    <br>We will contact you shortly!</font> </p></div><!--P

    <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = "info@caringlaser.com.com";
    $mailsubj = "Information Request";
    $mailhead = "From: $emailn";
    reset ($HTTP_POST_VARS);
    $mailbody = "Values submitted from web site form:n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    $mailbody .= "$key : $valn";
    }
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    -->
    </body>
    </html>

  2. #2
    Maddog's Avatar
    Maddog is offline Lieutenant Colonel
    Join Date
    May 2005
    Location
    UK
    Posts
    514

    Default

    theres a few errors that I can see,

    why have you got the following

    <body text="#ffffff" bgcolor="#000000" $email="$HTTP_POST_VARS[email];" $mailto="contact@caringlaser.com" $mailsubj="Information Request" $mailhead="From: $emailn" $val)="each" $mailbody="Values submitted from web site form:n" .="$key : $valn">>

    doesn't that get changed by the php script at the end? ( BTW you have 2 ">>" only need one)


    and your missing

    ?>
    above the </body> tag to close the php script

    not 100% sure, but hope it helps
    www.bluevodaexchangelink.com
    BluevodaExchangeLink Help Center
    Bluevodaexchangelink Forum

    The only place for bluevoda site to be linked with!

  3. #3
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,061

    Default Form working on some computers

    Hi there,
    I have the following problem: I have set up a form in my site- http://navaldesign.info/contactform.html . I tested it, and everything was Ok, I am getting an answer email with all the correct answers from all the fields. So i published it. I get home and try it from my home computer. The only result I get is that Outlook Express gets started and prompts me with a blank message. I tried again from my office, everything ok. Tried again from home, the same problem. Does anyone have a clue ? Thanks
    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!


  4. #4
    VodaHost's Avatar
    VodaHost is offline General & Forum Administrator
    Join Date
    Mar 2005
    Location
    Wilmington, Delaware USA
    Posts
    11,390

    Default

    use the php code that is on the same page as the form insructions.

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  5. #5
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,061

    Default

    Quote Originally Posted by VodaHost
    use the php code that is on the same page as the form insructions.
    Yes,ok, I shall figure out the solution. But do you really know why this happens?
    I also tried the form from other PCs too, and It works just great. Can you figure of any reason why it shouldn't work just from home computer?
    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!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Order Form and Paypal Help Please
    By Gramma Anna in forum General Support Issues
    Replies: 3
    Last Post: 05-07-2006, 04:27 AM
  2. E-mail form problems
    By prosper in forum Email Problems (POP, SMTP & Webmail)
    Replies: 3
    Last Post: 10-07-2005, 10:49 PM
  3. Can someone please test my form?
    By Patti Johnson in forum BlueVoda - General Issues
    Replies: 7
    Last Post: 10-06-2005, 06:20 AM
  4. HTML code for Contact Form
    By Patti Johnson in forum BlueVoda - General Issues
    Replies: 2
    Last Post: 09-22-2005, 06:56 PM
  5. Form problems... once again
    By Patti Johnson in forum BlueVoda - General Issues
    Replies: 2
    Last Post: 09-09-2005, 02:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49