You are here: Re: [PHP] Re: QUERY_STRING Variables and POST « PHP « IT news, forums, messages
Re: [PHP] Re: QUERY_STRING Variables and POST

Posted by Michael B Allen on 12/09/05 01:08

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация