PHP code not sending POST form variables

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

Threaded View
Hi everyone,

I've downloaded the PHP code at
and am currently in the process of trying to get the code up and
running. I am running PHP version, 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:


<form method="post">
<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.



Re: PHP code not sending POST form variables

the test code you include doesn't have an action attribute, which is
required, the code that isn't working does have an action set on the
form?  and it does feature the scriptname in which you've included the
var_dump code doesn't it?

Quoted text here. Click to load it

Site Timeline