Standalone random block showing code
rudolphp
Joined: 2002-07-26
Posts: 15 |
Posted: Sun, 2005-07-17 00:44 |
I have the random block entered as an SSI as follows: <!--#include file="gallery/block-random.php" --> and instead of displaying the block it diplays the php code like it is calling a text file. It is an IIS 5 server Anyone have any thoughts? www.rudolphfamily.net/index.stm TIA |
|
Posts: 2322
...that's exactly what it's doing. You're including it, not executing it.
Please read the instructional post at the top of this forum. You must include the random block by using an http include, or it won't function correctly.
Posts: 15
OK. I have added the line,
include('http://www.rudolphfamily.net/gallery/block-random.php');
and the results are the same
Posts: 2322
Well.. your page isn't using PHP, obviously. I'm not sure what you're using.
You'll have to figure out how your software performs includes; I don't even know what 'stm' files are.
Posts: 15
it is normal html. the stm extension of IIS's way of recognizing an SSI which is what <!--#include file="gallery/block-random.php" --> is supposedly.
Thanks for responding and trying