| 
	
 | 
 Posted by Lammi on 09/11/07 11:32 
you're not really into php, right? 
 
for a basic validation you may use strip_tags and stripslashes and 
htmlentities with all your datafields, f. e. 
 
$name = strip_tags($_POST['name']); 
$name = stripslashes($name); 
$name = htmlentities($name, ENT_QUOTES); 
 
that's usualy smart enough to prevent malicious code in the email 
you'll get. if you wanna store the data in a database, a little more 
work must be done. but as far as i remember, you're only looking for a 
email-solution. 
 
lorenz
 
  
Navigation:
[Reply to this message] 
 |