RE: [PHP] Encoding /'s

From: Date: Sat, 15 Mar 2003 23:20:25 +0000
Subject: RE: [PHP] Encoding /'s
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-139816@lists.php.net to get a copy of this message
> When my PHP page sends text that is being passed in, it places an "/" in > front of the apostrophe. How do I encode or decode this when I am > outputing > the variable? www.php.net/stripslashes They are added to GET, POST, COOKIE data according to the magic_quotes_gpc setting in php.ini. ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/

« previous php.general (#139816) next »