UBB.Dev
Posted By: passwordud $_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

Code
     <?php 
$page=$_GET['page'];
echo "value is: ". $page;
if ($page =="test") {
include ("test.txt");
}
?>
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

Code
  
Posted By: Brett Re: $_GET nightmare! - 02/09/2005 2:56 AM
Have you tried the $HTTP_GET_VARS array? $HTTP_GET_VARS['page']

What is your version on php?
Posted By: passwordud Re: $_GET nightmare! - 02/09/2005 4:14 AM
its ok i figuredit was a compability prob with php 5 and xitari

phew!
© UBB.Developers