You are here: Re: strange POST vs GET behaviour « PHP Programming Language « IT news, forums, messages
Re: strange POST vs GET behaviour

Posted by Janwillem Borleffs on 12/28/06 00:44

flits@flats.nl wrote:
> This results in:
>
> Notice: Undefined index: pass in /var/www/2.php on line 3
> passed:
>
> Array
> (
> )
>
> The above script doesn't pass the POST. But when I change it to GET it
> does get passed to 2.php. Does anyone have an idea?
>

Check the output of phpinfo() to see if it gets anywhere. Also, check the
output of both $HTTP_POST_VARS and $_REQUEST['HTTP_POST_VARS'].

Perhaps you upgraded from a pre-4.2 version and some old bits and pieces
where left. You can also try to rename the php.ini file to php.ini.old and
restart your webserver. After this, PHP should resort to its defaults as it
will not be able to locate the php.ini file.


JW

 

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

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