PHP GET and variables
Posted: 23. October 2006 19:21
In the latest version of XAMPP i can not get any variables to work when they are either GET or just stated in the URL.
an example would be
Then when i would do: "http://localhost/test.php?id=1" it comes up blank. Now if i do this on my actual WEBserver it works fine.
Anyone have any idea why this would not work? It worked fine with previous versions of XAMPP i belive!
Thanks alot for any help.
-Jon
an example would be
- Code: Select all
<?php
echo("$id");
?>
Then when i would do: "http://localhost/test.php?id=1" it comes up blank. Now if i do this on my actual WEBserver it works fine.
Anyone have any idea why this would not work? It worked fine with previous versions of XAMPP i belive!
Thanks alot for any help.
-Jon