You are here: why is the $_POST variable empty? « PHP Programming Language « IT news, forums, messages
why is the $_POST variable empty?

Posted by Taras_96 on 10/25/07 14:59

Hi everyone,

I'm trying to get the code found at http://www.inventory-management.org/
up and running. So far I've created the database, edited the
configuration files to include the database information, renamed the
fputcsv function to f_put_csv. I'm trying to log into the page by
using the suggested user/pass of admin/test. However, I can see by
placing var_dump($_POST) at the top of index.php, that when I submit
the form no data is in the $_POST array?!

When the action is changed to GET, the appropriate variables appear in
the GET array?!

I thought it may have something to do with the configuration of the
web server, but creating a running a test PHP script that posts a
variable to itself shows that variables, from this script, are being
posted.

Does anyone have any ideas of what may be going wrong?

Thanks

Taras

 

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

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