I wand to hire someone to build a contact us form. (I am getting just too much spam with my email address visable.) Any help would be appreciated. I want it to have three options: Name Email Message And of course a submit button. email with particulars.
To build a contact form page you need to script it in PHP and then integrate it into your HTML page. You can download free contact forms (as it's quicker than writing your own)
To do this in php, I have written you a script!! firstly create the form in your html page by entering this code: <form action="mail.php" method="post"> Name: <input type="text" name="name"><br> E-mail: <input type="text" name = "email"><br><br> Message<br> <textarea name="message"></textarea><br><br> <input type="submit" value="Submit"> </form> Then create a file called mail.php in notepad and up load it (remember to get rid of the .txt and replacewith .php after uploading) with this in it: <? function checkOK($field) { if (eregi("\r",$field) || eregi("\n",$field)){ die("Invalid Input!"); } } $name=$_POST['name']; checkOK($name); $email=$_POST['email']; checkOK($email); $message=$_POST['message']; checkOK($message); $to="you@youremail.com"; $message="$name left you a message. They said:\n$comments\n\nTheir e-mail address was: $email"; if(mail($to,"From Contact Form",$message,"From: $email\n")) { echo "Thanks for your comments."; } else { echo "There was a problem sending the mail. Please check that you filled in the form correctly."; } ?> Remember to change the email address and to leave me rep points