Posted by Mark Parnell on 12/21/05 07:31
Deciding to do something for the good of humanity, Eric
<nospam@email.com> spouted in alt.html:
> This is what i dont get. Your telling me to generate the index.html page
> using cgi?
Yes.
> but the cgi cant run till its in a page
Why not? Just call it directly.
> or if i use a cgi to generate index.html then
> what page causes execution of the cgi in the first place?
When you visit that address. *Instead* of going to index.html, you go to
e.g. index.cgi. It works the same as any other server-side language.
E.g. my site uses PHP - the main page is called index.php instead of
index.html. The end user only sees the resulting HTML, but the HTML
(along with any headers, cookies, etc.) is generated by PHP.
--
Mark Parnell
=====================================================
Att. Google Groups users - this is your last warning:
http://www.safalra.com/special/googlegroupsreply/
[Back to original message]
|