You are here: Re: $_SERVER['QUERY_STRING'] empty when using post? « PHP Programming Language « IT news, forums, messages
Re: $_SERVER['QUERY_STRING'] empty when using post?

Posted by Berimor on 11/16/13 11:32

On 20 Nov 2005 15:15:43 -0800, Greg Scharlemann
<greg.scharlemann@gmail.com> wrote:

> Does $_SERVER['QUERY_STRING'] not return the query string when using
> the post method of a form?
>
> It works fine when I use get, but post doesn't work. How do I retrieve
> the query string when posting a form?
>
> Thanks...
>



Sure, you won't get querry string the way you're trying. Think you should
fetch all parameters of $_REQUEST hash and then (if you need this) to
compose all parameters and their values into query string using server
delimiter (in most cases it's "&" symbol).





--
Exact Meta Search | Major Search Engine
http://exactsearcher.com

 

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

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