![]() Topic awaiting preservation: Using Perl and PHP in same web page? (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: there...no..there..... |
![]() 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..... |
![]() 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 |
![]() 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 |
![]() Hey C:\, code: <?php virtual('file.cgi');?>
|
Maniac (V) Inmate From: under the bed |
![]() How about SSI? |
Paranoid (IV) Inmate From: New Jersey, USA |
![]() Why does the main index page have to be a .shtml page? |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() CPrompt: Butcher has a valid point. |
Paranoid (IV) Inmate From: California |
![]() quote:
|
Maniac (V) Inmate From: there...no..there..... |
![]() 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..... |
![]() 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. |