Reply LinkBack Thread Tools Search this Thread
Old 23-04-2008, 12:03   #41 (permalink)
seen.to
unusual suspect ™
 
seen.to's Avatar
 
Join Date: Jul 2004
Location: DE, USA
Posts: 2,511
Not a function as such. Something I add to combat mail injection spammers. I've since added more but this is the version I have at hand:
PHP Code:
$email preg_replace("/\r/"""$email);
$email preg_replace("/\n/"""$email);
if (
eregi("cc"$email) || eregi("bcc"$email) || 
eregi("to"$email) || eregi("Content-Type"$email)) 
die(
"Sorry, there was a problem with your message being sent. 
Please click <a href=\"javascript:history.go(-1)\">here</a> to try again"
); 
__________________
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8