Questions tagged [shtml]

shtml files are HTML files that undergo server-side includes processing

SHTML files are HTML files for which server-side includes (SSI) is enabled.

Usually the server knows that it must perform SSI processing because the filename ends with a recognized extension, typically .shtml, .stm or .shtm. If the server is configured to allow it, SSI-enabled files may be recognized because they have the execution permission bit set.

88 questions
0
votes
0 answers

Displaying reCAPTCHA with JavaScript and verifying using PHP

I have a site that uses SSI for the headers and footers of the page. I've created an AJAX request that sent all of the form data to a script on the server that would verify the form and the reCAPTCHA all in one. I have run into one small problem…
firstofth300
  • 2,697
  • 2
  • 14
  • 14
0
votes
2 answers

Alternate Headers with SSI and PHP

I have two headers: one to display for a logged in user, and one to display when logged out/not a member. I also have a footer that should be duplicated on each page.I had the idea to use SSI to include the header and footer. As of now, we haven't…
Jaws212
  • 750
  • 2
  • 7
  • 18
0
votes
1 answer

Parse shtml as SSI, but also include PHP using .htaccess

I have a particular situation with code i'm inheriting which is using shtml server-side-include, however I'm attempting to add some very simple login functionality to the site so I need to include a session check in PHP. However my the only…
1dayitwillmake
  • 2,269
  • 3
  • 26
  • 35
0
votes
1 answer

Link to a specific tab / directly to a tab

Is it possible to link directly to a tab for a site such as http://www.antutu.com/Ranking.shtml? I'm referring to the tabs Recommend, Highest, Lowest........ Looking at the source, I couldn't find any references of class and id in a script from the…
House3272
  • 1,007
  • 5
  • 14
  • 29
0
votes
2 answers

Include .shtml file in a .php page?

I'd like to include a .shtml file in a .php page. I know it is possible, as i have done it before (though i've forgotten the code). Please can someone help?
Aqr Aqr
  • 11
  • 7
0
votes
1 answer

Server side navigation highlight active page

I'm looking to implement a server side header.shtml with the ability to recognize the active page (likely by adding a css class to it)
0
votes
3 answers

php code in shtml

Okay, so I'm very new to website design, so please keep that in mind. I've been working on a website (with file extension .shtml), and the time has come to add php code to it. It's only a little code, but it doesn't work on the .shtml website; the…
user1535846
  • 15
  • 1
  • 5
0
votes
1 answer

lift jsonform id

I use SHtml.jsonForm in myjsonclass.show to wrap a jsonform to the HTML page with the following command:
It works fine. The SHtml.jsonForm method defines a random id for the form tag, I wonder if there…
0
votes
3 answers

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

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,…
Ev.
  • 7,109
  • 14
  • 53
  • 87
-1
votes
1 answer

How to use server side includes / SHTML?

Can any one plz guide me how to use SHTML in vs code. I am trying to use this shtml because of includes but am getting rid of this ,am not getting how to create this and include the header and footer in all the files . I need to know how to use…
Akash K
  • 1
  • 2
-1
votes
1 answer

SSI querystring syntax

I have a problem with a query string in SSI. Syntax isn't valid. The example URL is following: www.site.com/index.shtml?firstID=100&secondID=104&thirdID=true