if (!isset($mainfile)) { include("mainfile.php"); }
$index = 0;
include("header.php");
opentable();
include ($form);
closetable();
include("footer.php");
?>
-------------
but when i click on the link in the navigation i got these errors:
Warning: main() [function.main]: open_basedir restriction in effect. File(../html) is not within the allowed path(s): (/www/htdocs/--------/) in /www/htdocs/-------/uml.php on line 10
Warning: main(html) [function.main]: failed to create stream: Operation not permitted in /www/htdocs/--------------/uml.php on line 10
Warning: main() [function.main]: Failed opening 'html' for inclusion (include_path='.:..') in /www/htdocs/--------/uml.php on line 10
line 10 is how you can see
include($form);
whats wrong with this??
thx
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
i install "php form generator" on my php nuke portal
i create with it one formular
i make a link to my navigation like this:
http://www.myurl/uml.php?form=/phpform/forms/form1.html
---------------
uml.php is in the root und contain this :
<?php
if (!isset($mainfile)) { include("mainfile.php"); }
$index = 0;
include("header.php");
opentable();
include ($form);
closetable();
include("footer.php");
?>
-------------
but when i click on the link in the navigation i got these errors:
Warning: main() [function.main]: open_basedir restriction in effect. File(../html) is not within the allowed path(s): (/www/htdocs/--------/) in /www/htdocs/-------/uml.php on line 10
Warning: main(html) [function.main]: failed to create stream: Operation not permitted in /www/htdocs/--------------/uml.php on line 10
Warning: main() [function.main]: Failed opening 'html' for inclusion (include_path='.:..') in /www/htdocs/--------/uml.php on line 10
line 10 is how you can see
include($form);
whats wrong with this??
thx