simple scrip to stop email injection

From: Date: Wed, 16 Aug 2006 09:53:30 +0000
Subject: simple scrip to stop email injection
Groups: php.general 
Request: Send a blank email to php-general+get-240762@lists.php.net to get a copy of this message
Been having loads of problems with this and have solved it using the phpmailer. The only problem is I cannot get the class working on the remote host I am working on. I am back to using mail() but need to drop in script that checks my fields $fname, $sname, $email, $subject, $message. Regards, Ross

« previous php.general (#240762) next »