Sounds like register_globals has been disabled on the server, which is a good thing for security reasons.
Change:
PHP Code:
<?php
if ($PG="/0") { $PG = "home"; }
$PAGE = $PG . ".php";
include($PAGE)?>
to:
PHP Code:
<?php
if (empty($_GET['PG'])) { $PG = "home"; } else { $PG = $_GET['PG']; }
$PAGE = $PG . ".php";
include($PAGE)?>
or more stream lined:
PHP Code:
<?php
if (empty($_GET['PG'])) { $PG = "home"; } else { $PG = $_GET['PG']; }
include($PG . ".php")?>
That should do it. The $_GET array includes the variable/value pairs sent via the URL after the "?". The empty funtion comes back true if PG does not exist or has no value.