hardylaura Posted October 31, 2006 Share Posted October 31, 2006 I am currently using server side includes on all my website pages for the navigation menu, so my files are all *.shtml files. If I add PHP to any of these files, they must be *.php files. Is there any way to use server side includes in files that also use PHP? Link to comment https://forums.phpfreaks.com/topic/25660-using-server-side-includes-and-php-together/ Share on other sites More sharing options...
wildteen88 Posted October 31, 2006 Share Posted October 31, 2006 Use include(_once) or require(_once) for including files with PHP.No need to use SSI then. Link to comment https://forums.phpfreaks.com/topic/25660-using-server-side-includes-and-php-together/#findComment-117421 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.