Use the $_GET
array instead of $HTTP_GET_VARS
. The latter one is deprecated and probably disabled due to register_long_arrays.
Gumbo
2010-04-18 21:17:51
Use the $_GET
array instead of $HTTP_GET_VARS
. The latter one is deprecated and probably disabled due to register_long_arrays.
This must do the trick :)
if(isset($_GET['p']))
{
$page = $_GET['p'];
}
else
{
$page = 'home';
}