Jump to content

Difference between SSI and PHP include?


eduard

Recommended Posts

The difference between SSI and PHP include is that in SSI there are 2 PHP files and in PHP include there is 1 file with 2 PHP ......?

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.

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...