You are here: Re: How to check for multiple @'s « PHP Programming Language « IT news, forums, messages
Re: How to check for multiple @'s

Posted by Ron Barnett on 11/22/76 11:59

<affiliateian@gmail.com> wrote in message
news:1159368852.512889.252720@m7g2000cwm.googlegroups.com...
> We are trying to prevent spammers from mass mailing their list while
> using our contact us script. We have a few security measures in place
> but would also like to add a "check for more than 1 @'s in the to:, cc:
> and bcc: fields. Can anyone point us to some code or turotials for
> doing this?
>
> Thanks in advance.

substr_count($CClist, '@')

will return the number of @ characters in $CClist

check out the PHP manual at PHP.net

Cheers

Ron

 

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

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