hi all

I quickly set up php, mysql & xitami for some development on my win XP box.

It was working fine till I tried using forms. I cannot get the $_GET and $_POST variables to populate with the form variables. Here is my form (pretty basic):

HTML Code:

<form action="http://localhost/webpages/myjobs/index.php" method="get">
Name: <input type="text" name="name" />
Age: <input type="text" name="age" />
<input type="submit" />
</form>


The following PHP:

PHP Code:


var_dump($_GET);

var_dump($_POST);

var_dump($_REQUEST); 




Outputs:

Code:

array(0) { } array(0) { } array(0) { }

However, the following is returned by phpinfo():

Code:

_SERVER["QUERY_STRING"] => name=x&age=c

So it is picking up the variables, however, $_GET is not been populated. Tried the same thing with post and same result.

Coming back to PHP after a 2 year break, is this some new security feature I haven’t heard about?

Any feedback would be gratefully accepted (only set up the box to do some quick dev work, but its turned out to be anything but)