$_GET nightmare! - 02/09/2005 2:17 AM
hi everyone
i've just spent the bet part of the day confused as with this problem.
trying to use GET to run templates on my site. to test it wuld work i ran
and http://localhost/esl/test.php?page=test
but it does not work on my machine - just on other peoples! I am using xatari and windows xp.
tried to change global variables to on but that did not wokr or i did it wrong.
please has any body got a clue abot this? i'm stumped and going nuts!
JP Stones
i've just spent the bet part of the day confused as with this problem.
trying to use GET to run templates on my site. to test it wuld work i ran
Code
<?php
$page=$_GET['page'];
echo "value is: ". $page;
if ($page =="test") {
include ("test.txt");
}
?>
but it does not work on my machine - just on other peoples! I am using xatari and windows xp.
tried to change global variables to on but that did not wokr or i did it wrong.
please has any body got a clue abot this? i'm stumped and going nuts!
JP Stones
Code