note 24869 deleted from function.mysql-escape-string by aidan

From: Date: Wed, 11 Aug 2004 14:08:14 +0000
Subject: note 24869 deleted from function.mysql-escape-string by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-74453@lists.php.net to get a copy of this message
Note Submitter: skennedy tpno org ---- About magic_quotes_gpc and data scrubbing: It is usually the best practice to have a common function called at the beginning of your scripts that "normalizes" the data to what you expect. For me, that's getting rid of magic quotes effects on my incoming data if it's turned on, or do nothing to if it's turned off. This may seem the long way around, but my scripts work regardless of what the setting on the server are, or if they change.

« previous php.notes (#74453) next »