Hi,
I have been searching everywhere for this html
Wherever you insert the <i think> javascript, it displays the html from that page.. basically i want the logo and menu up the top to be in one html-page and the content of the page in another but it still appears as one (like using asp) so that i can update just one page and it updates the rest automatically.
I remember adding it into a cgi script so it displayed the logo and banner, then the cgi script.
I know it is a very basic one line bit of code but i cannot find it anywhere, so i decided to try here
Think your talking about SSI (server side includes).
Just do a search on any major SE for SSI and you should find tutorials on it.
Here are a couple of quick SSi commands:
<!--#include file="filename.txt/html"> - This tag includes the content of filename.txt or filename.html in your html page.
<!--#echo var="value"--> - This tag allows you to include some variables. You can replace value with:
1. DATE_LOCAL - Local Time
2. DATE_GMT - Time in GMT
3. DOCUMENT_NAME
4. LAST_MODIFIED
<!--#exec cgi="script.cgi"--> - This tag includes a CGI Script
Hope this helps.
Regards,
------------------
KeithMcL
www.webmasterswork.com
#1 source for web developer jobs online
Bookmarks