View Full Version : ok, another html question...
If I have a page that is a .shtml page but I want to call a script in the middle of it, how do I do that?[nbsp][nbsp]I have figured it out with frames, but I am trying not to use them.
Thanks!
Jamie
JoeRT
10-07-2000, 03:25 PM
When you say "... call a script in the middle of it" I'm assuming you mean run a CGI script?[nbsp][nbsp]If so, here's how I do it...
<!--#include virtual="/cgi-bin/scriptdirectory/scriptname.cgi" -->
I use shtm a LOT for both including static pages and running CGI scripts to insert dynamic content... very handy tool.
-----------------
Joe Torsitano
www.weatherforyou.com (http://www.weatherforyou.com)
what do shtm files differently then htm files?
Kara
Dan Kaplan
10-07-2000, 06:52 PM
.shtm or .shtml tells the server that an action is taken on the file before it is sent to the browser.[nbsp][nbsp]That is the idea behind SSI (server side includes) which allows site-wide formatting through a single text file or execution of scripts like counters, for example.
Dan
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.