Re: [PHP] Newbie pattern question

2004-11-05 Thread Frantzcy Paisible
Hi, Try adding a space([a-zA-Z0-9_] => [a-zA-Z0-9_ ]), John Doe is false but JohnDoe would be true in the case below Frantzcy On Fri, 5 Nov 2004 20:55:00 +0200,"Phpu" <[EMAIL PROTECTED]> wrote: > Hi, > I have this function > > function validate_name($name) { > > if(ereg("^[a-zA-Z0-9_]{2

Re: [PHP] Re: PHP - MCRYPT - CBC - IDEA

2004-11-05 Thread Frantzcy Paisible
Thanx Ben, But I've been thru this one, in and out, and it's exactly one of those that say "MCRYPT_IDEA (non-free)" but not more. Have you used mcrypt ? with cbc and IDEA ? Frantzcy On Fri, 05 Nov 2004 13:30:04 -0500,Ben Ramsey <[EMAIL PROTECTED]> wrote:

[PHP] PHP - MCRYPT - CBC - IDEA

2004-11-05 Thread Frantzcy Paisible
Hi all, I'm looking for some information, rearging mcrypt. Now, I've been through the normal channels, I've been going in in cercles. I need to recreate this perl script in php : sub cryptage { use Crypt::CBC; $key = "SuperFreak"; my $action = shift; my $string = shift; my $c