Vulnerability Development mailing list archives

Re: String checking with PHP


From: buanzox () USA NET (Arturo Busleiman)
Date: Wed, 24 May 2000 23:20:40 -0300


On Wed, 24 May 2000, Joe wrote:

As with most programming tasks, there's more than one way to skin this cat.
Your method works, but it's fairly intense and will get very expensive on
large strings. Why expend so much effort when a single regular expression
will do the job? (Especially with regex caching built into newer versions of
PHP3 and PHP4)
yes, I wanted to do it that way, but the PHP3 documentation regarding that
subject was not very good for me, as I have never used regex before (just
the most simple cases only).

thank you very much for your code, Joe!

*> Get PGP KEY: use pgpk -a hkp://horowitz.surfnet.nl/buanzox () usa net
*> Lista social de mail. Envia e-mail en blanco a lsb-subscribe () egroups com
*> Panic? My kernel doesn't panic! We are doomed! DustDustDust!!!!


Current thread: