Re: simple scrip to stop email injection

From: Date: Fri, 18 Aug 2006 17:00:30 +0000
Subject: Re: simple scrip to stop email injection
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-240866@lists.php.net to get a copy of this message
On Thu, August 17, 2006 2:20 am, Ivo F.A.C. Fokkema wrote: >> if (preg_match("/\r\n/", array($fname, $sname, $email, $subject))){ >> die("Spammer!"); > preg_match("/[\r\n]/", ... You are absolutely correct. Sorry. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#240866) next »