shtml

Is "include file" in shtml the best method to keep non-database changing data

We have a website that uses '#include file' command to roll info into some web pages. The authors can access the text files to update things like the occasional class or contact information for the department. My question is this, I don't see anyone using this method and wonder if it is a good idea to keep using it. If not, what metho...

What is SHTML

Recently I came to know about SHTML. And also I have look at site having extensions as .shtml. What is the purpose of SHTML in what ways it differ from HTML and DHTML ...

How to include PHP file in SHTML pages?

I have a shtml file index.shtml in which I want to include a PHP file which performs some programing and returns HTML data. I am trying to include my PHP file but I don't know how to do that, I tried following but nothing is working, Following line is just printing an error, "[an error occurred while processing this directive] ": <!--...

IIS not serving shtml files properly, instead the browser tries to download the file

Hey Everyone. Okay, so I'm at a temporary office and they've given me a machine with XP to do dev on. Awesome. I've set the site up in IIS and I need it to serve shtml files. Problem is, when I browse to the shtml file, the browser tries to download the file, rather than display it properly. I've tried a few things that I've found on...

SSI commands not working is for shtml files in iis

the following code should show either the port or servername not both i always get both no matter what ? <!--#if expr="${SERVER_PORT} = 80" --> <!--#echo var="SERVER_PORT"--> <!--#else --> <!--#echo var="SERVER_NAME"--> <!--#endif --> i have also tried the follwoing with no joy either !! <!--#if expr="${SERVER_PORT} = '8...

Configuration of SSI in IIS 7

Hi, I've installed ServerSideIncludes module on my computer and it works great with one exception. <!--#include virtual="meta.inc" --> The line above is causing the problem. I know I must change virtual with file but I have a huge website and it means I must change at least 1000 line of code like this and I am looking for a way to ru...

HTML vs SHTML vs PHTML

What is the difference between: HTML SHTML PHTML Why and when i'll use which one? ...

How to include Perl into shtml files

Hi I am trying to include a perl script within my shtml file. Unfortunately when I do my script doesnt seem to run but instead it just displays the content of the script. The code I am using is as follows: test.shtml: <html> <title> business home page </title> <body> </br> <!--#echo var="DATE_LOCAL" --> <br /> <!--#include virtual="h...

If I have one nav_bar.html file that is included on other pages, how do I show which menu item is active?

Hey everyone... thanks for taking the time to read this. I have a JavaScript (jQuery) navigation bar on my main page that is simply "included" on my page. For example, I have index.shtml that "includes" the nav bar, which is "nav_bar.shtml". And this is the same for every other page. Now clearly, with the current setup, there's no wa...

I have PHP code that needs to be referenced in every single shtml page, is the below possible?

Hey everyone... I'm not too familiar with PHP... but I have PHP code that basically "includes" a file if a condition exists. This PHP code is going to be pretty lengthy and I was wondering if it was possible to create a .php file, and just INCLUDE THAT in my shtml files? What the below is doing is placing the correct navigation bar in ...

HTML Image Tags

I was asked to resolve an issue with shtml file and the problem is like this: A person was asked to edit an shtml file to add a new radio button. She downloaded the file, added some content and uploaded it to the web server. To my utter shock, the img src="images/Front_Page_22.jpg is now pointing to file:///C|\path1\path2\images\Front_P...