Re: Double checking - I should turn off "magic quotes"

From: Date: Tue, 05 Jun 2007 22:26:51 +0000
Subject: Re: Double checking - I should turn off "magic quotes"
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-256136@lists.php.net to get a copy of this message
On Mon, June 4, 2007 9:25 am, Dave M G wrote: > Since my database is MySQL, does that mean using addslashes() and > stripslashes()? In other words manually doing what magic quotes was > doing automatically? Please start reading here: http://phpsec.org And, for the record, no, addslashes is NOT the right answer for MySQL. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#256136) next »