I am a beginner in php and am trying some very simple tests to get started.
I seem to be unable to get any values from $_GET.
This test.php
#!/usr/bin/php
<html>
<body><h1>GET test</h1><p>
<?php
print_r($_GET);
?>
</p></body></html>
produces the following when called with http://my.url/test.php?aValue=A&bValue=B
<html>
<body><h1>GET test</h1><p>
Array
(
)
</p></body></html>
I do not have write access to /etc/php.ini on the server, but check register_globals and it is off.
I have also tried using $_POST method, but this also doesn't work.
PHP version: PHP 5.1.6