Re: Validating email and properly escaping queries
Quote:
Originally Posted by
Donald Duck
Yes, I'm aware of that. But it was just a reply on CobraCom's post that is just a kiddie. The purpose of my post was to teach him that whenever the GPC is off, stripslashes is not required and may be harmful. Escaping data twice isn't a good idea.
To add, escaping data twice is the similar-equivalent of no data escaping occuring at all (Except for the fact that the escaped data will be inserted with the data into the database).