Forum Moderators: coopster
This first day of the new year has me pondering the correct form of server side includes on a .php page.
For a year on dedicated server, running cpanel this form worked fine:
<? require ("http://someserver/somefile.ext");?>
This also worked for a number of months on a new server running ensim. On this same server this form also worked on the homepage (index.php):
<? require ("./somefile.ext");?>
Then yesterday the site was generating errors for this ssi files and only this works on all pages:
<? require ("/path/to/somefile.ext");?>
and this
<? require ("./somefile.ext");?>
only worked on the homepage of this site but none of the other pages?
I am mystified as to what changed on this server? And now I ask what is the CORRECT form of ssi on a php page, that will work no matter what ensim does.
Any comments on what is the BEST admin interface (meaning most secure and stable) Ensim or Cpanel, would be greatly appreciated.
Thank you.