Re: clarification on magic quotes

From: Date: Thu, 04 Apr 2002 20:02:23 +0000
Subject: Re: clarification on magic quotes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-91590@lists.php.net to get a copy of this message
On Thursday, April 4, 2002, at 02:09 PM, Miguel Cruz wrote:
I find it much simpler to turn it off, and then just addslashes all strings before they go into the database.
I suppose you're right -- the only time you really need to add the slashes is right before the data gets inserted. I think I'll go through and put addslashes() around any database insert scripts I have and turn it off. Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com

« previous php.general (#91590) next »