Re: [PHP] Checking password

2007-04-03 Thread Jochem Maas
Panquekas wrote: > Hello, > > I just want to ask if when I have the magic_quotes_gpc ON and use the > preg_quote is there an problem? One doesn't eliminate the other or does? magic_quotes_gpc sucks - I recommend turning it off, for portability (when your running on a machine with magic_quotes_gpc

[PHP] Checking password

2007-04-03 Thread Panquekas
Hello, I just want to ask if when I have the magic_quotes_gpc ON and use the preg_quote is there an problem? One doesn't eliminate the other or does? Anyway, I'm trying to insert values to the DataBase in a secure way.. by checking the special chars (with preg_quote), htmlentities is this a good