When I send a variable in my URL like this: http://www.server.com/test.php?variable=test
and on the test.php page I have
<?
echo ("$variable");
?>
Nothing happens.
I have checked the php.ini on the server with the command phpinfo(); and I can see that register global is set to on.
I have also tried $variable=$GET['variable']; and
@extract($GET);
but nothing seems to help.
Setting $variable=("test"); in test.php gives me the desired result though.
Any suggestions?