arthurakay
08-03-2008, 05:00 PM
I'm not sure if this is the right place to ask this question... but here it goes.
I'm using a shared Microsoft hosting account, and I'm trying to use a variety of SSI calls in my code.
After much frustration, I first found that (on IIS) you have to use the ".shtml" extension for the server to actually read SSI calls.
Here's the thing... my #include and #echo statements work fine. The #set statement isn't doing anything.
Example:
<!--#set var="title" value="test" -->
<!--#echo var="DATE_LOCAL" -->
<!--#echo var="title" -->
Outputs:
Sunday August 03 2008
Variable 'title' cannot be found
Does anyone have any idea what's going on here?
I'm using a shared Microsoft hosting account, and I'm trying to use a variety of SSI calls in my code.
After much frustration, I first found that (on IIS) you have to use the ".shtml" extension for the server to actually read SSI calls.
Here's the thing... my #include and #echo statements work fine. The #set statement isn't doing anything.
Example:
<!--#set var="title" value="test" -->
<!--#echo var="DATE_LOCAL" -->
<!--#echo var="title" -->
Outputs:
Sunday August 03 2008
Variable 'title' cannot be found
Does anyone have any idea what's going on here?