I am making a simple redirect script:
<?php
if (!$id)
{ include("./main.php?usn=$usn");
}
else
{ include("./$id.php?usn=$usn");
}
?>
all the pages are present, but i get the error:
Warning: Failed opening 'main.php?usn=admin' for inclusion (include_path='.:/usr/local/lib/php') in /homepages/index.php on line 6
any ideas?
thanks very much
Matt