[2023-01-23] 4images 1.10 released
0 Members and 1 Guest are viewing this topic.
if i want include menu(menu.php) to the "home.html", "details.html", "top.html" and etcwhat i must to do?
<?phpinclude($_SERVER['DOCUMENT_ROOT']."/menu.php");?>
Warning: Failed opening 'C:/serv/www/menu.php' for inclusion (include_path='.;c:\php4\pear') in C:\serv\www\images\includes\template.php(133) : eval()'d code on line 106Warning: Failed opening 'C:/serv/www/my_footer.php' for inclusion (include_path='.;c:\php4\pear') in C:\serv\www\images\includes\template.php(133) : eval()'d code on line 1158
it's only for inclusion of the file ... nothing else.
<?phpprint "HTML codes";?>
That would not be the best choice but yes.