why is the $_POST variable empty?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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

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



Re: why is the $_POST variable empty?

Quoted text here. Click to load it

I hope you meant to say METHOD rather than ACTION.

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

Quoted text here. Click to load it

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)  

Re: why is the $_POST variable empty?

Quoted text here. Click to load it
Yes, sorry, I meant METHOD :*)

Site Timeline