Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- PHP code not sending POST form variables
October 25, 2007, 3:19 pm
rate this thread
I've downloaded the PHP code at http://www.inventory-management.org/
and am currently in the process of trying to get the code up and
running. I am running PHP version 126.96.36.199, so I needed to change the
function named fputcsv to f_put_csv.
However, when trying to login to the page (after setting up the
database), I find that the $_POST array is empty?! I found this by
putting the line var_dump($_POST) at the top of the index.php file.
When I change the method of the form to "get", the variables are sent
I read that the problem might be due to the server configuration, but
a simple script that echoes the contents of $_POST from a simple form
shows that variables can be posted:
(the test code is:
<input type="text" name="first" />
<input type="submit" />
What could possibly going wrong in the inventory management software?
The only thing I can think of is that a feature has been changed/
deprecated over time, leading to the management software not working.