RE: [PHP] urlencode
| From: | Richard Kirk | Date: | Sat, 17 Mar 2001 18:51:14 +0000 |
| Subject: | RE: [PHP] urlencode | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44406@lists.php.net to get a copy of this message | ||
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