Thread: [SOLVED] Contact form
View Single Post
  #2  
Old 07-13-2009, 10:18 AM
freenicetemplates freenicetemplates is offline
Administrator
 
Join Date: Mar 2009
Posts: 507
Default php contact form

You can do something like this at the begining of contact.php :

if (empty($_POST['name']) || empty($_POST['email']) ) {
header("Location: ./index.htm?page=_error_message.htm");
}
__________________
We are always pleased to read you in our guestbook