Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- How do I call a program
- Tomy Jon
August 19, 2005, 3:12 am
rate this thread
Re: How do I call a program
Tomy Jon wrote:
If you want a program to execute before a Web page is loaded, use a
server-side include (SSI). Reference the SSI in the BODY of the
page. The server will execute the SSI before delivering the HTML
to your client (browser). SSIs are often UNIX or Perl scripts, but
other SSIs are possible.
Often, an SSI contains the following statements:
print 'Content-type: text/html'
followed by a print statement that embeds some text (e.g., a
counter) into the HTML being delivered. However, that is not
necessary. You can instead have an SSI that merely executes. That
SSI can, in turn, call another program that is not a script.
I'm not sure what you meant by "have control return to the next
html step". When a server delivers a file (HTML, TXT, etc) to a
client, the entire file is delivered along with any supplemental
files appropriately referenced by the requested file (e.g., CSS,
David E. Ross
I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.
- » Clearing floats without introducing a new line. How?
- — Previous thread in » HTML Authoring Forum