Re: Re: QUERY_STRING Variables and POST

From: Date: Thu, 08 Dec 2005 23:28:49 +0000
Subject: Re: Re: QUERY_STRING Variables and POST
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-227161@lists.php.net to get a copy of this message
use $_REQUEST['name'] to get value On 12/8/05, Michael B Allen <mba2000@ioplex.com> wrote: > > On Thu, 08 Dec 2005 17:56:14 -0500 > Roman Ivanov <gamblergluck@yahoo.com> wrote: > > > Michael B Allen wrote: > > > I'm using the POST method but I would also like to access QUERY_STRING > > > parameters. Is there a convienient global array for these? If not, > > > what is the definitive method for accessing them? > > > > $_GET > > $_REQUEST > > + > > read manual > > Using the POST method and a URL like: > > http://server.com/foo.php?name=value > > I get: > > $_SERVER['QUERY_STRING'] // empty string > $_GET['name'] // not defined > $_SERVER['PHP_SELF'] // no ?name=value > $_REQUEST['QUERY_STRING'] // empty string > > Any ideas? > > Thanks, > Mike > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#227161) next »