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

Posted by David T. Ashley on 10/25/07 15:12

"Taras_96" <taras.di@gmail.com> wrote in message
news:1193324345.587379.128450@t8g2000prg.googlegroups.com...
> 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 hope you meant to say METHOD rather than ACTION.

If you changed the ACTION string, your problem is clear.

> 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?

--
David T. Ashley (dta@e3ft.com)
http://www.e3ft.com (Consulting Home Page)
http://www.dtashley.com (Personal Home Page)
http://gpl.e3ft.com (GPL Publications and Projects)

 

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

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