You are here: Re: $_POST problem with PHP5 on IIS « PHP Programming Language « IT news, forums, messages
Re: $_POST problem with PHP5 on IIS

Posted by Anonymous on 11/14/05 01:34

will.lai@gmail.com wrote:
>
> Hi: Just learning PHP and couldn't get access to the $_POST variables
> from a form. Here are my code sniplets below. For the life of me I
> can't figure out why the POST variables aren't being passed. FYI, if I
> switch the method to GET and the $_GET variable works great.

I couldn't see anything wrong with the code, so I just tried it out to
see what the server says:

4.4.1
$_POST:
array(1) { ["email"]=> string(17) "test@test.invalid" }

$_GET:
array(0) { }

$_REQUEST:
array(1) { ["email"]=> string(17) "test@test.invalid" }

Actually just what I expected. The problem must be in your server or PHP
configuration.

 

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

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