Sorry, its magic_quotes_gpc -- i got confused. The magic_quotes_runtime one
is for databases.
Regards, John
"Richard Kirk" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> No, its set to "off".
>
>
> -----Original Message-----
> From: John Lim [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 17, 2001 5:14 PM
> To: [EMAIL PROTECTED]
> 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" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]