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 policie? Thanks in advance. PS: Sorry my english, I'm a little rusted :)