|
Posted by Taras_96 on 10/25/07 15:19
Hi everyone,
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 5.1.6.6, 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
appropriately.
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:
<?php
var_dump($_POST);
?>
<form method="post">
<input type="text" name="first" />
<input type="submit" />
</form>
)
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.
Thanks
Taras
Navigation:
[Reply to this message]
|