View Single Post
Old 2007-02-22, 09:28 PM   #10
MrYum
Arghhhh...submit yer sites ya ruddy swabs!
 
MrYum's Avatar
 
Join Date: May 2004
Location: Sunny Florida!
Posts: 5,108
Send a message via ICQ to MrYum
Quote:
Originally Posted by ponygirl View Post
ok, so SSI for idiots (me) lol

do a recip table, save it as a .txt file
put this in your htaccess: AddHandler server-parsed .htm .html (anywhere on a separate line?)
call the table using this: <!--#include virtual="/pathto/recips.txt" --> in your html

is that right? seems too easy
Actually, it is really easy. I was intimidated at first too, but once you use it...you'll love it

The first 3 lines of my htaccess...
RewriteEngine on
AddHandler server-parsed .html
Options All -Indexes FollowSymLinks Includes

That third line tells the server it's ok to follow 'includes'...whether they be ssi or php.

You can save as either txt or html...doesn't matter a bit. Just be sure to use the right extension when including the file in your html.

<!--#include virtual="/pathto/recips.txt" -->

Yup, that looks right to me
MrYum is offline   Reply With Quote