Quote:
Originally Posted by Voodoo
Or here's another method...
PHP Code:
<?php
$ID=$_GET['ID'];
include ('header.php');
include ('$ID.php');
include ('footer.php');
?>
|
Fail.
First off, you are using single quotes which means it would have to be include($ID.'.php'); not the way you have it, secondly what if i call it with file.php?id=/some/other/sites/on/this/server/phpfile ?