Re: urlencode

From: Date: Sun, 18 Mar 2001 05:07:45 +0000
Subject: Re: urlencode
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-44425@lists.php.net to get a copy of this message
Sorry, its magic_quotes_gpc -- i got confused. The magic_quotes_runtime one is for databases. Regards, John "Richard Kirk" <rkirk@rkirk.com> wrote in message news:LPBBKEIJJGAGFMHDBOAIGEFFCGAA.rkirk@rkirk.com... > No, its set to "off". > > > -----Original Message----- > From: John Lim [mailto:heyjohnlim@yahoo.com] > Sent: Saturday, March 17, 2001 5:14 PM > To: php-general@lists.php.net > Subject: Re: [PHP] urlencode > > > You have magic_quotes_runtime enabled which causes this behaviour. You can > disable it by turning it off in your PHP.ini. > > See http://php.net/manual > > "rkirk.com Mail" <rkirk@rkirk.com> wrote in message > news:LPBBKEIJJGAGFMHDBOAIEEFECGAA.rkirk@rkirk.com... > > Help - I've a problem when using urlencode/decode functions (same with > > rawurl...). > > If I encode : > > mnemonic = "lnkphoto" > > > > I get: > > mnemonic+%3D++%22lnkphoto%22 > > > > And if decode it during the same script execution it converts back to > > exactly: > > mnemonic = "lnkphoto" > > which is what I'd expect. > > > > However, if I pass this value as a URL argument and decode it in the > > receiving script I get: > > mnemonic = \"lnkphoto\" > > which causes me all sorts of problems! > > Is this a "feature" or have I misunderstood the way this should work? > > > > Thanks > > > > > > > > > > > -------------------------------------------------------------------------- -- > ---- > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#44425) next »