Jump to content

Difference between SSI and PHP include?


eduard
 Share

Recommended Posts

here's the definition. http://en.wikipedia.org/wiki/Server_Side_IncludesIt's not language specific, it's just specific to a type of language, one that runs on the server side. (server side include)An include in PHP, as already shown in your last topic, is still the same.http://w3schools.invisionzone.com/index.php?showtopic=35824

<?phpinclude 'page.html';?>

All it does is literally include another PHP file into the one making the call, as if it existed there already. No more, no less.

Link to comment
Share on other sites

here's the definition. http://en.wikipedia.org/wiki/Server_Side_IncludesIt's not language specific, it's just specific to a type of language, one that runs on the server side. (server side include)An include in PHP, as already shown in your last topic, is still the same.http://w3schools.invisionzone.com/index.php?showtopic=35824
<?phpinclude 'page.html';?>

All it does is literally include another PHP file into the one making the call, as if it existed there already. No more, no less.

Thanks!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...