• We are currently experiencing a flood of requests from bots scraping the forums. Unfortunately it has gotten to the point where it is negatively impacting the site. As a result the forums may be slow and you may periodically experiance an error message. We are aware of the problem and apologize for the inconvenience.
  • Be sure to join the discussion on our discord at: Discord.gg/serebii
  • If you're still waiting for the e-mail, be sure to check your junk/spam e-mail folders

Ssi?

GuyGuy10

Ranger Boy
What is SSI for. I am kind of new to the whole HTML thing and wanted to know. So anyway, how do I use it? Please, somone tell me.



.::GuyGuy::.
 

Magma Leader Maxie

Non caedor caedo
It stands for "Server-side includes" and it's main use is for including pieces of a HTML document on the server before it gets sent to a visitor's browser.

Take this for example: a website can have a navigation bar that sometimes changes. But what if there are thousands of pages? Then if you wanted to change the navbar, you would have to edit every single page! But with server-side includes, you would need to change only one file to update the whole site.

Here's what an SSI tag might look like:
Code:
<!--#include file="navigation.txt" -->

If navigation.txt contains the code for the navbar, then if you change it, all the other pages that have that SSI tag will "magically" update.

For more information, check out some tutorials like this one.
 
Last edited:
Top