Re: What's more common: CGI or module installation?
| From: | Murph | Date: | Tue, 01 Aug 2000 03:31:02 +0000 |
| Subject: | Re: What's more common: CGI or module installation? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9348@lists.php.net to get a copy of this message | ||
> You're probably looking for this:
>
> <!-- hello.inc -->
> Hello, world!
>
> <!-- http://www.murphatnight.com/test.php -->
> <HTML>
> <BODY>
> <? include "hello.inc" ?>
> </BODY>
> </HTML>
---
Sure, that'd work but you renamed test.html to test.php and I'm afraid I'm
stuck with the .html extension because my server installed PHP as CGI
instead of as a module.
Now, John Coggeshall and David Rose had something interesting to write in a
previous thread labeled "Calling PHP from an HTML page" that I think would
be useful.
I suppose I should reiterate that I'm trying to help out my father whose
server doesn't have PHP on it. So, he's stuck with flat HTML files. I'd like
to help him write interactive HTML files that would flow something like:
Read Daddy's page one halfway
\
\
Enter me with fat, greasy PHP script
/
/
Daddy's Page One (other half) with PHP content
Kind of like sticking a CGI script in there that reads back into his
original Page One.
I know I'm missing something so basic that it makes me want to scream and
kick a small, furry animal.
Someone hit me with a book or a "RTFM" reference before the Society for the
Prevention of Cruelty to Animals finds me!
A blue pill? Gee, I've never tried the blue ones before...
Yours,
Murph