Re: urlencode
| From: | John Lim | Date: | Sat, 17 Mar 2001 17:13:41 +0000 |
| Subject: | Re: urlencode | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44402@lists.php.net to get a copy of this message | ||
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