Topic awaiting preservation: Using Perl and PHP in same web page? (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: there...no..there..... |
posted 04-06-2003 18:03
I have my main page which uses a Perl script to post new entries. The main index page *has* to be *.shtml. |
Maniac (V) Inmate From: there...no..there..... |
posted 04-06-2003 18:05
OK, I just thought of something. I don't know Perl that well so I am going to try to just use a Perl "include" and see if I can pull the menu that way into the index.shtml. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 04-06-2003 18:40
there are ways, but the one that would be easiest on the server would be to put the menu into an iframe, and have that load the php file. Or to rewrite the menu in perl. Shouldn't be that difficult. |
Paranoid (IV) Inmate From: California |
posted 04-06-2003 18:40
Hey C:\, code: <?php virtual('file.cgi');?>
|
Maniac (V) Inmate From: under the bed |
posted 04-06-2003 19:09
How about SSI? |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 04-06-2003 21:44
Why does the main index page have to be a .shtml page? |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 04-06-2003 21:56
CPrompt: Butcher has a valid point. |
Paranoid (IV) Inmate From: California |
posted 04-06-2003 22:24
quote:
|
Maniac (V) Inmate From: there...no..there..... |
posted 04-06-2003 23:30
OK, thanks for the replies. The reason for *having* to use *.shtml is really not that clear to me. Other than that is how the Perl script that I use for the entries is set up. For the main page to include the entries, it has to be shtml. Not real sure but that is what the directions of the script tells you to do. |
Maniac (V) Inmate From: there...no..there..... |
posted 04-07-2003 03:45
OK, never mind. I think that Piper's suggestion will work for me. When I tried it that way earlier it didn't work. Turns out that for some reason, PHP wasn't working on my machine. I am testing this first on my machine with phpDev and it just was being quirky. |