Re: How to check for multiple @'s
<affiliateian@xxxxxxxxx> wrote in message
news:1159368852.512889.252720@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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
.
Relevant Pages
- SUMMARY WAS: OT? Philosophical Question on SA responsibilities
... helpful for managers interested in hiring new administrators. ... Would you go thru the 14,600 messages in root and admin ... If I was a new SA I would if encountering a security hole, ... I can see some use for the passwd -s part of the crontab script, ... (SunManagers) - Re: Clarification-Win2k Netstat sockets interpretation
... snip.. ... Before I could manually download every security upate and servicepack from MS.com but now...they send you a bit of Cop-code that fails to run unless ALL defences are down ... Are you sure the script from ntsvcfg is benign in addition to being useful? ... You are absolutely correct there HAL, er ah, Sebastian. ... (alt.computer.security) - [NT] Flaw in Windows Script Engine Could Allow Code Execution
... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... The Windows Script Engine provides Windows operating systems with the ... blocked by Outlook Express 6.0 and Outlook 2002 in their default ... (Securiteam) - Re: BUG with RES/SCRIPT/XP-SP2
... I consider JavaScript (known to security people as JavaVirus) as one of the Really Top ... to have a bad script cause damage to my machine. ... This security feature is called the "Local Machine Zone Lockdown". ... Tags, and the CDHtmlDialog class in this forum, and got no response. ... (microsoft.public.vc.mfc) - Re: FWIW: ST Enterprise Cancelled
... > through the Guardian while they were playing with it. ... Where in any version of Ellison's script is this? ... LeBeque tells Beckwith that hes not going to keep doing ... >>will not do with their continuing characters and overall storyline, ... (sci.space.history) |
|