repose Posted December 18, 2010 Share Posted December 18, 2010 Point 1: this my contact form 2. Uplode in Godaddy hosting Account 3. hit the submit key i am not getting any mail /responce 4. not sleep,no food...for this problem. 5. please give me problem solutions ************************* this is hltml **************************** <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> < <title>repose - Contact Us</title> <style type="text/css"> <!-- .style1 { font-size: 14 } .style2 {font-family: Arial, Helvetica, sans-serif} .style4 { color: #414f66; font-weight: bold; } .style5 { color: #414f66; font-weight: bold; font-family: Arial, Helvetica, sans-serif; font-size: 16px; } --> </style> </head> <body> <div class="page-container-1"> <div class="buffer"></div> <!-- Navigation Level 3 --> <!-- ADDTHIS BUTTON END --> <!-- CONTENT --> <div class="content1"> <!-- Page title --> <div class="content1-pagetitle"> <p align="center" class="content-subtitle-noshade-size1 style1"><span class="style5">CONTACT US</span> <p align="center" class="content-subtitle-noshade-size1 style1"><img src="images/logo.jpg" alt="logo" width="252" height="45" /><br /> </div> <div class="content1-container"> <table width="90%" border="0" align="center" cellpadding="0"> <tr> <td><form method="post" action="contact.php"> <h2 align="justify"> </h2> <p align="center" class="style2"><span class="style4">Please fill out as much of the following information as you care to share with us</span>:</p> <table width="600" border="0" align="center" cellpadding="0"> <tr> <td width="250"><div align="left"> <h6 align="right"><span class="style2">Name</span>:</h6> </div></td> <td width="350"><div align="left"> <input type="text" name="name" size="40" /> </div></td> </tr> <tr> <td width="250"><div align="left"> <h6 align="right" class="style2">Email:</h6> </div></td> <td width="350"><div align="left"> <input type="text" name="email" size="40" /> </div></td> </tr> <tr> <td width="250"><div align="left"> <h6 align="right" class="style2">Address:</h6> </div></td> <td width="350"><div align="left"> <input type="text" name="address" size="40" /> </div></td> </tr> <tr> <td width="250"><div align="left"> <h6 align="right" class="style2">City:</h6> </div></td> <td width="350"><div align="left"> <input type="text" name="city" size="40" /> </div></td> </tr> <tr> <td width="250"><div align="left"> <h6 align="right" class="style2">State:</h6> </div></td> <td width="350"><div align="left"> <input name="state" type="text" size="4" maxlength="2" /> </div></td> </tr> <tr> <td width="250"><div align="left"> <h6 align="right" class="style2">Zip:</h6> </div></td> <td width="350"><div align="left"> <input name="zip" type="text" size="7" maxlength="5" /> </div></td> </tr> <tr> <td width="250"><h6 align="right" class="style2">Phone:</h6></td> <td width="350"><input name="phone" type="text" size="14" maxlength="18" /></td> </tr> <tr> <td width="250"><div align="left"> <h6 align="right" class="style2">Time To Contact:</h6> </div></td> <td width="350"><div align="left"> <input type="text" name="timetocontact" size="40" /> </div></td> </tr> <tr align="left" valign="top"> <td width="250"><div align="left"> <h6 align="right"> <span class="style2">Program of Interest</span>:</h6> </div></td> <td width="200"><p> <input type="checkbox" name="check[]" value="cadetprogram" /> <span class="style2">Photography</span><br /> <input type="checkbox" name="check[]" value="seniorprogram" /> <font face="Arial, Helvetica, sans-serif">Vediography</font><br /> <br /> </p></td> </tr> <tr align="left" valign="top"> <td width="250"><div align="left"> <h6 align="right" class="style2">Areas of Interest:<br /> (check all that apply)</h6> </div></td> <td width="350"><div align="left"> <p> <input type="checkbox" name="check[]" value="areaadmin" /> <span class="style2">Wedding</span><br /> <input type="checkbox" name="check[]" value="areaaerospace" /> <span class="style2">Engagement </span><br /> <input type="checkbox" name="check[]" value="areacadetprograms" /> <span class="style2">Birthday</span><br /> <input type="checkbox" name="check[]" value="areachaplain" /> <span class="style2"> Industrial</span><br /> <input type="checkbox" name="check[]" value="areacommunications" /> <span class="style2">Table Tops</span><br /> <input type="checkbox" name="check[]" value="areadrillteam" /> <span class="style2">Jewellary</span><br /> <input type="checkbox" name="check[]" value="areaemergencyservices" /> <span class="style2">Touring</span><br /> <input type="checkbox" name="check[]" value="areaflightoperations" /> <span class="style2">None</span><br /> <br /> </p> </div></td> </tr> <tr> <td width="250" height="82" valign="middle"><h6 align="right" class="style2">Comments:</h6></td> <td width="350"><p> <textarea name="comments" cols="60" rows="6"></textarea> </p></td> </tr> <tr> <td width="250"> <h6> <input type="submit" value="Submit Your Request" name="submit" /> </h6></td> <td width="350"> </td> </tr> </table> <p align="center"><img src="images/thank.jpg" alt="thanks" width="288" height="94" align="middle" /></p> </form></td> </tr> </table> <p> </p> <p> </p> <!-- Nav Foorter --> <td height="55" valign="top"> </td> </div> </div> <!-- SIDEBAR --> <!-- Empty sidebar: By adding "hide" to the class statement the sidebar becomes hidden --> <div class="sidebar hide"> </div> <!-- FOOTER --> </div> </body> </html> ********************************* ********************************* this is php ************************************ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><br> <html> <head> <title>repose</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <?php if(isset($_POST['submit'])) { $to = "repose@repose.in"; $headers = 'From: repose@repose.in' . "\r\n"; $subject = "repose.in Contact Form"; $name_field = "$name"; $email_field = "$email"; $message = $_POST['message']; foreach($_POST['check'] as $value) { $check_msg .= "Checked: $value\n"; } $body = "Name: $name_field\n Email: $email_field\n Street: $address\n City: $city\n State: $state\n Zip: $zip\n Phone: $phone\n Time To Contact: $timetocontact\n $check_msg\n Comments: $comments\n"; echo "Your Information has been submitted to REPOSE!"; mail($to, $subject, $body, $headers); } else { echo "There was an error in your submission, please resubmit."; } ?> <script language=javascript> setTimeout("location.href='index.html'", 0000); </script> </body> </html> ***************************** ****************************** Quote Link to comment https://forums.phpfreaks.com/topic/222083-i-want-to-sleep-plz-slove-the-problem/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.