Preserved Topic: Server Side Includes |
|
---|---|
Author | Thread |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 04-26-2000 18:58
I know that Server Sides Includes aren't dHTML or Javascript, but I wasn't sure where to post this thread.<P>I have some information in a bulleted list that I would like to insert on "webpage A". "Webpage B" is my main page and I would like to use Server Side Includes to display "webpage A's" bulleted list in one section of "webpage B". Is this how Server Side Includes function? I'm new to SSI's. Please explain to me the concept of SSI's, brief synopsis please. I know Doc said he uses them on the main page to his site. From what I've gathered SSI's are similar to floating frames minus the frame...does that make sense? Am I on the right track in my thinking?<P> |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 04-27-2000 00:51
SSI's actually just include the content from website A in the page B. you can't tell when they are being used because all it does is include the code seamlessly into the page. These are usefull for dynamic pages where you want to be able to change content quickly and easily or if you have the same code repeated on a lot of pages. If this is one page then they are not very usefull (just put the code in the page in the first place)<P>They need to be supported by your server in order to work since the server does the work and some hosts have issues with these includes. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 04-27-2000 00:52
SSI's actually just include the content from website A in the page B. you can't tell when they are being used because all it does is include the code seamlessly into the page. These are usefull for dynamic pages where you want to be able to change content quickly and easily or if you have the same code repeated on a lot of pages. If this is one page then they are not very usefull (just put the code in the page in the first place)<P>Doc actually uses these on the copyright part of all of his pages for the copyright and link area of the page <P>They need to be supported by your server in order to work since the server does the work and some hosts have issues with these includes. <P> |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 04-27-2000 08:12
SSI, or Ser4ver-Side Include, is a way for the server to take a text or html file from one place and include it somewhere else. You can also get some good information on browsers, date and time, all sorts of good stuff. Basically, they look just like a commented out line of code, here's an example that would output the date...<P><!--#echo var="DATE_LOCAL" --><P>Try putting this line in your code, and name your document with a ".shtml" at the end, instead of the usual ".html". If the date prints out, then Yay! You have SSI enabled on your server. If not you'll eed to write your SysAdmin and request SSI-include to be enabled. (They might balk at enabling SSI-exec, which allows you to start scripts dynamically in your code.) <P>Check out this web page at MIT, a good basic tute... |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 04-27-2000 16:25
O mah gawd! I just pee'd my friggin' pants! I just implemented Server Side Includes to seamlessly integrate an external web page containing a menu into about fifty web pages. It is the BOMB, baby! I made one little change to the external file and badda-bing all fifty pages were updated. Damn! This really rocks! |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 04-27-2000 16:26
Check out this site for Server Side Include tags and tute's: |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 04-27-2000 16:49
oh oh and you can nest SSI's in external web pages as well.....I can't take it any more!!! AAAAAAH Stop the madness!!! |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 04-27-2000 17:03
So theoretically couldn't a forum be created using SSI's? |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 04-27-2000 17:08
DOC... What uses do you use SSI for? I've come up with some great use's so far on my own.<P>(intranet scenario) I've envisioned creating a notepad text document on a non web server server that a particular group of people have access to. Then on the .shtml page on the web server I could include the text page using SSI thus giving them limited ability to make updates to the .shtml page without giving them the ability to screw up the code. |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 04-27-2000 17:10
DOC if you look hard enough out your window in the direction of HOUSTON, TX you can probably see the light emanating from the light bulb that turned on in my head this morning! |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 04-27-2000 17:11
DOC you posted a great MIT tute! You said it was basic and I agree. Do you have any links that go into more detail on other tags for SSI? |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 04-27-2000 17:15
Another useful SSI link: |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 04-27-2000 17:43
Here's a page with simple and also technical descriptions of how SSI works: |
Bipolar (III) Inmate From: Stafford, TX USA |
posted 04-28-2000 03:58
DOC...If you call a .sht file using SSI 'include' variable, can the .sht contain only the variables and code for SSI and not any other HTML stuff like {html}{/html}? |
Bipolar (III) Inmate From: Stafford, TX USA |
posted 04-28-2000 06:11
DOC, here is a script that could come in very handy. It is a javascript in your external SSI that prompts for correct user name and password in order to gain access to a web page. Dunno if it works but I sure am gonna give it a whirl for the heck of it. |
Bipolar (III) Inmate From: Stafford, TX USA |
posted 04-28-2000 06:12
BTW does anyone know of any free web sites that allow the use of SSI? I'd really be surprised to find one that did. |
Nervous Wreck (II) Inmate From: USA !! (i say USSA- united socialist states of america !!!) |
posted 04-30-2000 08:57
Actually, www.net-games.com is free (for gaming/clan sites - and supports CGI, SSI, SQL (i think) and some other things... extremely good free host - they give you 250 megs.<P>I highly recommend goin there if you need a free host, and qualify for thir service.<P>--TheCommando-- |
Bipolar (III) Inmate From: Stafford, TX USA |
posted 05-01-2000 08:24
I put SSI to use on a corporate site. My client http://www.atec.com now has SSI footers on every page...from the horizontal rule down on every page the content is linked to an external file... I love this stuff! |
Bipolar (III) Inmate From: Stafford, TX USA |
posted 05-01-2000 08:28
Doc, FWIW there's a fragment of code showing at the bottom of this page. It looks to be maybe some sort of close table tag:<P></t is all that is showing...<P> |
Bipolar (III) Inmate From: Stafford, TX USA |
posted 05-01-2000 09:04
Anyone here ever consider joining in a web site collaboration? <p>[This message has been edited by Bruce (edited 01-05-2000) |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 05-08-2000 15:42
Doc...you ever use the SSI 'Mail' variable? How does it work? |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 05-19-2000 19:12
How about it Doc?<P>------------------ |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 05-19-2000 23:30
Heh heh heh. This thread really took off, eh? SSI, and it's souped-up cousin XSSI totally rules, you can do things on the server end that you would have thought would need some high-powered scripting thingamajig. Here's a fun one I use, from XSSI.<P><html> |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 05-25-2000 15:51
For anyone using a free web site like Tripod or Freeservers that doesn't support Server Side Includes I found a javascript on javascripts.com that emulates a Server Side Include for file inclusion.<P>If this interests you <a href="mailto:bruce@ktecelec.com"><b>e-mail</b></a> me directly and I'll send it to you.<P>---------- |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 05-26-2000 22:09
Does this mean that I could create a "template" page, then just use SSI to create all the other pages in the site?<P>That would ROCK!<P>Pat Richard |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 05-26-2000 22:16
I've chosen to create header, footer, and menus in my SSI include file. Then all I have to do is create filler for the rest of the page's filler data. So to answer your question, yes I guess that you could create a template so to speak.<P> <IMG SRC="http://www.raceamerica.net/images/sig.gif"> |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 05-27-2000 00:02
Whoa...I think I just scored....<P>This would make things SO much easier! I'll really have to dive into this stuff! <P>Pat Richard |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 05-27-2000 00:08
Woah - a javascript script that includes an outside file? hook me up with that! That would be SO helpful!<P> <IMG SRC="http://www.angelfire.com/ma2/slimesareneat2/images/slimesig.gif"> |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 06-05-2000 15:47
Send me an email and I'll reply with the script. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 06-06-2000 23:17
Doc - I've been looking for a way to pass that info on the URL. I tried your code, and just about wet my pants when it worked. <img border=0 align=absmiddle src="http://www.ozones.com/forum/smile.gif"> |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 06-08-2000 04:27
Doc - |