Re: register_globals won't turn off!
| From: | Robert Cummings | Date: | Sun, 28 Sep 2003 02:26:45 +0000 |
| Subject: | Re: register_globals won't turn off! | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164140@lists.php.net to get a copy of this message | ||
Are you using third party code that might be doing the export to global
space itself?
Rob.
On Sat, 2003-09-27 at 22:21, Damon Kohler wrote:
> No, it's not cached. I can type in anything to the input and it'll show up.
> As in, if I type "test" into the form, it prints test. Then if I type "hello
> world" it'll print hello world. So I'm pretty sure caching isn't the
> problem.
>
> Damon
>
> "Cristian Lavaque" <webdesign@anguz.net> wrote in message
> news:020901c38565$e47f3980$f096fea9@WINDOWS...
> > I don't know much about this, but could it have been cached?
> >
> > Cristian
> >
> >
> > Damon Kohler wrote:
> > > Well, it does turn off. At least phpinfo() says that it's off.
> > > However, PHP is acting as though it's still turned on. The
> > source
> > > code for the page I'm using to test this odd result is:
> > >
> > > <html>
> > > <head>
> > > </head>
> > > <body>
> > > <form action="<?=$_SERVER['PHP_SELF']?>"
> > > method="post">
> > > <input name="test">
> > > <input type="submit">
> > > </form>
> > > </body>
> > > </html>
> > > <?php
> > >
> > > print $test;
> > >
> > > phpinfo();
> > >>
> > >
> > > I'm running PHP 4.3.3 on RH7. When the form is submited, the
> > value is
> > > printed despite the fact it's printing $test and not
> > $_POST['test'].
> > > This is copy pasted from the results:
> > >
> > > register_argc_argv Off Off
> > > register_globals Off Off
> > >
> > >
> > > I'm completely stumped.
> > >
> > > Thanks in advance,
> > > Damon
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'