You are here: Re: How to block a specific e-mail address? « PHP Programming Language « IT news, forums, messages
Re: How to block a specific e-mail address?

Posted by Oli Filth on 09/05/05 21:50

Zenbug said the following on 05/09/2005 19:45:
> My website has a mail form run by PHP, and I'm getting a lot of e-mails
> sent through it that appear to contain my website's domain after the
> '@', though I didn't send them. The e-mails contain no other content,
> so I assume it's some kind of spam bot.
>
> There must be a line of PHP that I can add that will basically say, "if
> the e-mail address contains '@mydomainname.com', do not send."
>

Regular expressions?
http://www.php.net/pcre

Or even a simple string search?
http://www.php.net/strpos



--
Oli

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация