RE: [PHP] magic quotes

From: Date: Wed, 08 Aug 2007 12:55:52 +0000
Subject: RE: [PHP] magic quotes
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-260438@lists.php.net to get a copy of this message
Thanks, Met javascript not ajax. I had AJAX on the brain do to a project I'm working on. So I'm assuming there is a library of functions to use with the .htaccess file? Cause it looks like you can use UNIX and PHP to edit this file? Kevon K. Hayes 815-980-3435 RFD, IL -----Original Message----- From: Richard Lynch [mailto:ceo@l-i-e.com] Sent: Tuesday, August 07, 2007 11:30 PM To: KVIGOR Cc: php-general@lists.php.net Subject: Re: [PHP] magic quotes On Tue, July 31, 2007 9:28 am, KVIGOR wrote: > If magic quotes is on and I dont have access to the php.ini. > > Is there any way I can strip quotes from the form field with out using > AJAX? Best: Use .htaccess to turn magic_quotes off. Okay: Use something like if (ini_get('magic_quotes_gpc')) $data = stripslashes($data); Worst: Ajax cannot possibly begin to address this issue and is completely useless to solve this particular problem. -- 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? No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 8/5/2007 4:16 PM

« previous php.general (#260438) next »