Re: How do I call a program
Thanks Dave, I will play with SSI and learn how it works.
tom
On Thu, 18 Aug 2005 17:39:53 -0700, David Ross <nobody@nowhere.not>
wrote:
[color=blue]
>Tomy Jon wrote:[color=green]
>>
>> Howdy
>>
>> What do I use to call a program in html, in a known directory, and
>> then have control return to the next html step ?
>>
>> Thanks tom[/color]
>
>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'
> print ''
>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,
>JPEG).
>
>--
>
>David E. Ross
><URL:http://www.rossde.com/>
>
>I use Mozilla as my Web browser because I want a browser that
>complies with Web standards. See <URL:http://www.mozilla.org/>.[/color] |