Re: simple scrip to stop email injection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux