Re: Passing special characters in hidden fields
| From: | Jason Wong | Date: | Wed, 07 Aug 2002 08:03:47 +0000 |
| Subject: | Re: Passing special characters in hidden fields | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111480@lists.php.net to get a copy of this message | ||
On Wednesday 07 August 2002 15:41, Serdar Sokmen wrote:
> Hi;
>
> I'm curremtly writing an installation/configuration wizard for an existing
> PHP application. I have a hidden field with the value " ' ". But everytime
> the page reloads, it adds a " / " infront of it.... I tried to use
I'm sure you mean "\" and not "/".
> htmlspecialcharacters and stripslashes but I didn't manage to make t work.
> Not only it must display ok on the screen in case the user goes forward a
> step and comes back, it's vaue must also be ok as I will use this value
> later in the installation.
>
> Has anyone experienced this before?
Try disabling "magic_quotes_gpc" in php.ini.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
It is easier to resist at the beginning than at the end.
-- Leonardo da Vinci
*/