Re: Cannot access HTTP_POST_VARS without explicitly stating

From: Date: Thu, 12 Jun 2003 19:13:27 +0000
Subject: Re: Cannot access HTTP_POST_VARS without explicitly stating
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-20293@lists.php.net to get a copy of this message
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? > >

« previous php.windows (#20293) next »