SitePoint Sponsor |
|
User Tag List
Results 1 to 10 of 10
Thread: SSI
-
Oct 23, 2000, 15:21 #1
- Join Date
- Jul 2000
- Posts
- 41
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Well,
I was working on a new design for my site and I was going to use frames but someone said:
"Don't use frames..you should use SSI."
I said ok...I'll think about it but actully I had no idea what he was talking about.
Do You?
-
Oct 23, 2000, 16:33 #2
Yeeeeup. The basic explanation...
Create a file called something.txt (it can be named anything and could even be something.html). This file should contain what you want to insert into the other page.
(example mypage.shtml <<< note the extension which often has to be used, but not always).
Then in mypage.shtml, put this tag:
<!--#include file="something.txt" -->
in the spot you want the information contained in something.txt inserted.
These files should be in the same directory, if not there is another way to do it....
The tag:
<!--#include virtual="/something.txt" -->
will enable you to use the path to the file. This is relative to your home directory. So if your full path is /home/web/something.txt then you should use that here.
[Edited by Chicken on 10-23-2000 at 07:29 PM]HostHideout.com - Where professionals discuss web hosting.™
• Chicken
-
Oct 23, 2000, 17:44 #3
- Join Date
- Dec 1999
- Posts
- 137
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Something else...
You can learn SSI from the basics in http://www.stars.com/Authoring/SSI/
-
Oct 23, 2000, 20:28 #4
- Join Date
- Jan 2000
- Location
- Charlotte, NC
- Posts
- 5,891
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
SSI might frighten you at first, don't let it! It's very, very easy and can work wonders for you site. Definitely give it a go.
-
Oct 24, 2000, 09:21 #5
- Join Date
- Sep 2000
- Location
- South Africa
- Posts
- 186
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by mjames86
SSI might frighten you at first, don't let it! It's very, very easy and can work wonders for you site. Definitely give it a go.
-
Oct 25, 2000, 07:43 #6
- Join Date
- Aug 2000
- Posts
- 19
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
For SSI you do need to know whether your host allow SSI and also take note that even the host allow it you may need to change the .html extention to .shtml extention.
How SSI work :
Yeeeeup. The basic explanation...
Create a file called something.txt (it can be named anything and could even be something.html). This file should contain what you want to insert into the other page.
(example mypage.shtml <<< note the extension which often has to be used, but not always).
Then in mypage.shtml, put this tag:
<!--#include file="something.txt" -->
in the spot you want the information contained in something.txt inserted.
These files should be in the same directory, if not there is another way to do it....
The tag:
<!--#include virtual="/something.txt" -->
will enable you to use the path to the file. This is relative to your home directory. So if your full path is /home/web/something.txt then you should use that here.
Basicly the step should be:
1.Create the page you want.
2.Then create a file called it navigation.txt
3.Then from the page you have created, CUT and PASTE the code you want into the navigation.txt
4.After that, you should included the <!--#include virtual="navigation.txt" --> tag into the page that you had CUT and PASTE area.
5.Then change the .html to .shtml
6.Upload your .shtml and navigation.txt into the same directory.
7. END. <SUCCEED>
-
Oct 31, 2000, 09:53 #7
- Join Date
- Oct 2000
- Location
- Nashvegas Baby!
- Posts
- 7,845
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Just to answer the original question...using SSI does not necessarily preclude the use of frames. For example, I use both on Plus One Online
I want the navigation bar to ve visible at all times, but I also want to edit my footer (text links and copyright info) only once. I also use includes for little modules such as random quotes and stuff like thatAdobe Certified Coldfusion MX 7 Developer
Adobe Certified Advanced Coldfusion MX Developer
My Blog (new) | My Family | My Freelance | My Recipes
-
Nov 1, 2000, 20:36 #8
- Join Date
- Sep 2000
- Location
- Bethlehem, PA
- Posts
- 521
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
server side includes
<!--#include file="anything.txt" --> and it will copy +paste the code from that file into the file which has teh code.Professional PHP programing / Hosting
aim: downtoi3iz icq: 74637813
-
Nov 2, 2000, 00:53 #9
- Join Date
- Aug 2000
- Location
- Silicon Valley
- Posts
- 2,241
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You don't even need to change the ext to shtml if you could edit .htaccess file to parse the html/htm for SSI directives (calls)
- Son Nguyen
AdSpeed.com - Ad Serving and Ad Management Made Easy
-
Nov 2, 2000, 18:46 #10
- Join Date
- Aug 2000
- Location
- New York , USA
- Posts
- 407
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hello Everyone,
Just want to say, I went ahead and took the plunge into "SSI" today. I signed up for SureCity today. They have MySQl, PHP, CGI-BIN and SSI. Whew!!! made me tired writting all that. Also, the server seems to be slower than slow.
The other "stinker" to this is they have ads. When I checked FreeWebHosts about a week ago, SureCity came up as having no ads on search. Well what can ya say!?@%^$&#?!(#&!
Anyway, after reading this thread I went and tried it by placing the menu into a page I made. It all worked fine. Really neat.
BTW, FreeWebHosts has a new look. I checked out the search engine again today. I don't think I like the changes AND the new search engine is "NOT COOL"
Thanks to all in this thread, the info gave me the courage to try it. Learned something today.
WPWebbing Along!!!
Bookmarks