Re: Cannot access HTTP_POST_VARS without explicitly stating
| From: | Jeremy | Date: | Thu, 12 Jun 2003 20:17:23 +0000 |
| Subject: | Re: Cannot access HTTP_POST_VARS without explicitly stating | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20294@lists.php.net to get a copy of this message | ||
Thanks. I was under the impression that those with an opposite problem had
to enable the value. I had just come across this solution earlier today and
was going ot try it when I get the chance.
"Dvdmandt" <dvdmandt@telia.com> wrote in message
news:20030612185543.47731.qmail@pb1.pair.com...
> register_globals in php.ini should be set to On in order for that to
work...
> "Jeremy" <jpstroud@hotmail.com> skrev i meddelandet
> news:20030612185006.43695.qmail@pb1.pair.com...
> > I am having an issue with my server. I'm relatively new to PHP, so I've
> > been looking over a lot of tutorials and articles lately. One common
> theme
> > (and the reason I'm using PHP) is forms. The code typically uses an
echo
> to
> > pull the variabl from the HTTP_POST_VARS without explicitly stating it.
> IE,
> > the tutorials use $name instad of $HTTP_POST_VARS["name"].
> >
> > My problem is this, if I use $HTTP_POST_VARS["name"], it works just
fine.
> > If I just try to use $name, it shows up empty. The rest of the code
will
> > work fine. Any thoughts?
> >
> >
>
>