Jump to content

apostrophe's and slashes, but not stripping


mikefrederick

Recommended Posts

You can write a function that removes them at the beginning of the script before you do anything with the values.

 

For one such function (which happens to be the top-most comment in the Magic Quotes documentation):

http://talks.php.net/show/php-best-practices/26

 

It helps to view that page with CSS disabled.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.