Forum Moderators: coopster & phranque

Message Too Old, No Replies

CGI script for navigation

         

RaeH

5:15 pm on Nov 12, 2004 (gmt 0)

10+ Year Member



Hi, I'm a newbie with no CGI knowledge except I know that instead of coding each page of my sight with my navbar, it can be done with includes and less coding. Can someone point me in the right direction for the code? I started browsing the search area but it was time consuming. Thanks.

Rae

BTW, my files all have an shtml extension.

Matt Probert

5:23 pm on Nov 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You are talking about using "server side includes" to include a specified file within your pages. This is nothing to do with CGI. Try searching for "server side includes".

Matt

RaeH

5:46 pm on Nov 12, 2004 (gmt 0)

10+ Year Member



Thanks Matt. I did search under server side includes for navigation and didn't find much. It's good to know that includes are not CGI.

Perhaps someone can give me the basic code for includes and general guidance on usage. I'm been able to figure out from looking at online how-tos that I should put the navigation code in a .txt file, I believe and that my file extensions should be .shtml.