Quote:
Originally Posted by ponygirl
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
