Quote:
Originally posted by andrew67
PHP Code:
<?php
error_reporting(7);
require("./global.php");
eval("\$header = \"".gettemplate('header')."\";");
eval("\$footer = \"".gettemplate('footer')."\";");
eval("\$headinclude = \"".gettemplate('headinclude')."\";");
$title="TEST";
eval("\$page = \"".gettemplate('test')."\";");
eval("dooutput(\"".gettemplate('engine')."\");");
?>
If I dont create a template I get this error:
Parse error: parse error in /home/virtual/site2/fst/var/www/html/forums/test.php on line 13
If I create a template I get this error:
Warning: SAFE MODE Restriction in effect. The script whose uid is 48 is not allowed to access ./global.php owned by uid 504 in /home/virtual/site2/fst/var/www/html/forums/test.php on line 4
|
have you created the engine template? the second error i dont really know. there seems to be several userids.. so the test.php must have the uid 504 too to get access.. but ehm.. sorry, i dont really know :/.