Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.
<div id="contact-form-container">
<form action="contact_post.php" method="post"><input type="hidden" name="phpMyAdmin" value="4594f30712f4fabaff6997416810f3f2" />
<p><label for="urname">Your name:</label><input type="text" name="user_name" id="urname" /></p>
<p><label for="uremail">Your email:</label><input type="text" name="user_email" id="uremail" /></p>
<p><label for="urmessage">Your message:</label><br /><textarea name="user_message" rows="5" cols="40" id="urmessage"></textarea></p>
<p><label for="submit" style="display:none;">Submit form</label><input type="submit" value="Send your message" id="submit" /></p>
</form>
</div>
<?php
$myemail = 'johndoe@mydomain.net';
$subject = 'Contact via form on mydomain.net';
$message = 'Here\'s a message sent to you from '.$_REQUEST['user_email']."\n\n";
$message .= $_REQUEST['user_message'];
$headers = 'From: '.$_REQUEST['user_email']."\r\n"
.'Reply-to: '.$_REQUEST['user_email']."\r\n";
$sent = mail($myemail,$subject,$message,$headers);
if($sent){
echo 'Your message was sent!';
} else {
echo 'An error occurred. Unable to send mail';
}
exit;
?>
Jack
I understand that you have your OWN form, but I do not understand when you say you want to skip them? They host your service, and therefore need to process the information that people completing your form want to send. The file gdform.asp is simply a script that you call from your form, it does the work of translating the information to their servers, which in turn send you the information to an email address you specify in your control panel for the hosting account.
If you put...
<form action="gdform.asp" method="post" id="Form1"><input type="hidden" name="phpMyAdmin" value="4594f30712f4fabaff6997416810f3f2" />assuming your form is called Form1, and the gdform.asp file is in the same directory as the html page that you have your form on
Then the godaddy servers will send the info out to you with a maximum of a five minute delay from form submission.
You do not need to publish your email address and therefore avoid the problems that Devin was illustrating to you.
I am sorry that you didn't get the level of service you expected, but, the scripts they provide work, I know, I have sites hosted with them that I have form submissions on.
I hope you get it going!
1 to 17 of 17