troubleshooting Question

Web form not working correctly

Avatar of mchyzik
mchyzikFlag for United States of America asked on
Scripting LanguagesWeb Components
47 Comments1 Solution494 ViewsLast Modified:
I have a form on a website that the visitor fills out, then the information is to be sent via email to the owner of the site.  We get a bunch of junk.. not information from the form.  Below is a copy of what we receive in the email:

> To: glennnew@msn.com
> Subject: Feedback From Contact Form
> From: no_reply@newimagesphoto.com
> Date: Wed, 7 Jan 2009 12:08:33 -0600


> <html>

> <!-- Mirrored from www.newimagesphoto.com/contact/thankyou.html by HTTrack Website Copier/3.x [XR&CO'2007], Fri, 08 Aug 2008 15:25:07 GMT -->
> <head>
> <title>New Images Photography: Thank You</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <meta name="Description" content="New Images Photography, owned by Glenn G. New, has been Richmond's foremost wedding, corporate, architectural and commercial photography studio since 1975."> <meta name="keywords" content="Wedding Photography Wedding Photographers Professional Photographers Wedding Portraits Bridal Portraits Images Brides Bridal Weddings Corporate Architectural Commercial Richmond Virginia VA Va.">

> </head>

> <body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
> <br><br><br>
> <table border="0" align="center" cellpadding="0" cellspacing="0" width="286">
> <tr>
> <td width="286"><img src="images_contact/spacer.gif" width="286" height="20"><br>
> <font style='font: bold 17px/18px arial,helvetica,sans-serif; color:#cccc99'>Thank You</font><br><br>
> <font style='font: 12px/18px arial,helvetica,sans-serif; color:#cccc99'>Thank you for contacting New Images Photography. I will get back to you as soon as possible to arrange a time for us to meet. I look forward to working with you to capture and preserve the memories for your special event.</font><br><br>

> <a href="#" onclick="window.top.close(); return false"><img src=images_contact/btn-close.gif border="0"></a></td>
> </tr>
> </table>


> </body>

> <!-- Mirrored from www.newimagesphoto.com/contact/thankyou.html by HTTrack Website Copier/3.x [XR&CO'2007], Fri, 08 Aug 2008 15:25:07 GMT -->
> </html>


Here is a copy of the code for the form/page:
<html>
 
<!-- Mirrored from www.newimagesphoto.com/contact/form.php by HTTrack Website Copier/3.x [XR&CO'2007], Fri, 08 Aug 2008 15:25:01 GMT -->
 
<!-- Mirrored from www.newimagesphoto.com/contact/form.html by HTTrack Website Copier/3.x [XR&CO'2007], Tue, 21 Oct 2008 00:50:19 GMT -->
<head>
<title>New Images Photography: Contact</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Description" content="New Images Photography, owned by Glenn G. New, has been Richmond's foremost wedding, corporate, architectural and commercial photography studio since 1975."> <meta name="keywords" content="Wedding Photography Wedding Photographers Professional Photographers Wedding Portraits Bridal Portraits Images Brides Bridal Weddings Corporate Architectural Commercial Richmond Virginia VA Va.">
</head>
 
<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="focus()">
 
<form name="form1" method="post" ACTION="http://www.newimagesphoto.com/contact/form.php">
<INPUT TYPE="hidden" NAME="mailto" VALUE="glennnew@msn.com">
<INPUT TYPE="hidden" NAME="subject" VALUE="Feedback From Contact Form">
<INPUT TYPE="hidden" NAME="htmlfile" VALUE="thankyou.html">
 
  <table border="0" align="center" width="585" cellpadding="0" cellspacing="0">
    <tr valign="top">
      <td width="129"><img src="images_contact/spacer.gif" width="129" height="16"></td>
      <td align="left"><img src="images_contact/spacer.gif" width="5" height="1"></td>
      <td align="left" width="251">
        <img src="images_contact/spacer.gif" width="251" height="16"></td>
      <td rowspan="10"><img src="../images/logo_contact.gif"><br>
      </td>
    </tr>
    <tr valign="top">
      <td width="129"><img src="images_contact/name.gif" width="129" height="23"></td>
      <td align="left"><img src="images_contact/spacer.gif" width="1" height="30"></td>
      <td align="left" width="251">
        <input type="text" name="name" size="25">
      </td>
    </tr>
    <tr valign="top">
      <td width="129"><img src="images_contact/street.gif" width="129" height="23"></td>
      <td align="left"><img src="images_contact/spacer.gif" width="1" height="30"></td>
      <td align="left" width="251">
        <input type="text" name="street" size="25">
      </td>
    </tr>
    <tr valign="top">
      <td width="129"><img src="images_contact/city.gif" width="129" height="23"></td>
      <td align="left"><img src="images_contact/spacer.gif" width="1" height="30"></td>
      <td align="left" width="251">
        <input type="text" name="city" size="25">
      </td>
    </tr>
    <tr valign="top">
      <td width="129"><img src="images_contact/phone_1.gif" width="129" height="23"></td>
      <td align="left"><img src="images_contact/spacer.gif" width="1" height="30"></td>
      <td align="left" width="251">
        <input type="text" name="home_phone" size="18">
      </td>
    </tr>
    <tr valign="top">
      <td width="129"><img src="images_contact/phone_2.gif" width="129" height="23"></td>
      <td align="left"><img src="images_contact/spacer.gif" width="1" height="30"></td>
      <td align="left" width="251">
        <input type="text" name="work_phone" size="18">
      </td>
    </tr>
    <tr valign="top">
      <td width="129"><img src="images_contact/email.gif" width="129" height="23"></td>
      <td align="left"><img src="images_contact/spacer.gif" width="1" height="30"></td>
      <td align="left" width="251">
        <input type="text" name="email" size="25">
      </td>
    </tr>
    <tr valign="top">
      <td width="129"><img src="images_contact/date.gif" width="129" height="23"></td>
      <td align="left"><img src="images_contact/spacer.gif" width="1" height="30"></td>
      <td align="left" width="251">
        <select name="date">
          <option selected>--</option>
          <option>01</option>
          <option>02</option>
          <option>03</option>
          <option>04</option>
          <option>05</option>
          <option>06</option>
          <option>07</option>
          <option>08</option>
          <option>09</option>
          <option>10</option>
          <option>11</option>
          <option>12</option>
        </select>
        <select name="select">
          <option selected>--</option>
          <option>01</option>
          <option>02</option>
          <option>03</option>
          <option>04</option>
          <option>05</option>
          <option>06</option>
          <option>07</option>
          <option>08</option>
          <option>09</option>
          <option>10</option>
          <option>11</option>
          <option>12</option>
          <option>13</option>
          <option>14</option>
          <option>15</option>
          <option>16</option>
          <option>17</option>
          <option>18</option>
          <option>19</option>
          <option>20</option>
          <option>21</option>
          <option>22</option>
          <option>23</option>
          <option>24</option>
          <option>25</option>
          <option>26</option>
          <option>27</option>
          <option>28</option>
          <option>29</option>
          <option>30</option>
          <option>31</option>
        </select>
        <select name="select2">
          <option selected>--</option>
          <option>2002</option>
          <option>2003</option>
          <option>2004</option>
          <option>2005</option>
        </select>
      </td>
    </tr>
    <tr valign="top">
      <td><img src="images_contact/wedding_location.gif" height="23"></td>
      <td align="left"><img src="images_contact/spacer.gif" width="1" height="30"></td>
      <td align="left">
        <input type="text" name="wedding_location" size="25">
      </td>
    </tr>
    <tr valign="top">
      <td width="129"><img src="images_contact/rec_location.gif" width="129" height="23"></td>
      <td align="left"><img src="images_contact/spacer.gif" width="1" height="30"></td>
      <td align="left">
        <input type="text" name="reception_location" size="25">
      </td>
    </tr>
    <tr valign="top">
      <td width="129" align="left"><img src="images_contact/help.gif" width="129" height="23"></td>
      <td align="left"><img src="images_contact/spacer.gif" width="1" height="30"></td>
      <td align="left" rowspan="2">
        <textarea name="comments" cols="27" rows="4" wrap="VIRTUAL"></textarea>
      </td>
      <td rowspan="2"> <img src="images_contact/spacer.gif" width="200" height="28">
        <input type="image" src=images_contact/submit.gif border="0" value="Submit" name="image">
        &nbsp;&nbsp;<a href="#" onClick="window.top.close(); return false"><img src=images_contact/cancel.gif border="0"></a>
      </td>
    </tr>
    <tr valign="top">
      <td width="129"><img src="images_contact/spacer.gif" width="1" height="1"></td>
      <td align="left"><img src="images_contact/spacer.gif" width="1" height="1"></td>
    </tr>
  </table>
</form>
</body>
 
<!-- Mirrored from www.newimagesphoto.com/contact/form.php by HTTrack Website Copier/3.x [XR&CO'2007], Fri, 08 Aug 2008 15:25:06 GMT -->
 
<!-- Mirrored from www.newimagesphoto.com/contact/form.html by HTTrack Website Copier/3.x [XR&CO'2007], Tue, 21 Oct 2008 00:50:22 GMT -->
</html>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 47 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 47 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros