SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Jun 9, 2006, 08:03 #1
- Join Date
- Feb 2004
- Location
- VA
- Posts
- 28
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
SSI to include a file from my web server to Blogger
I wish to include a file from my own web server. I am using it to
manage meta tags for my blogger blog.
The SSI is not working. Presently I have it set as follows:
<!--#include virtual="http://cfcure.com/blogger-meta.shtml" -->
I have tried extensions of .inc and .html
None of them work. I know the solution must be simple. What am I
missing?
-
Jun 9, 2006, 13:13 #2
SSI only works on local files. You cannot specify http URLs with it.
You'll need to use PHP includes, or something else. To do PHP, you'd need to have PHP enabled on the server, change your file to have a .php extension, and then add your include like this:
Code:<?php include('http://cfcure.com/blogger-meta.shtml'); ?>
Outshine - geek blog & free phpBB mods
Publisher Database - tools & forums for writers
What Do Women Want? - dating advice for men, from women
Bookmarks