views:

32

answers:

2
+4  A: 

Use the $_GET array instead of $HTTP_GET_VARS. The latter one is deprecated and probably disabled due to register_long_arrays.

Gumbo
A: 

This must do the trick :)

if(isset($_GET['p']))
{
    $page = $_GET['p'];
}
else
{
    $page = 'home';
}
Sarfraz