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? Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.