--On 07/16/00 16:11:07 -0400 Sam Carleton <[EMAIL PROTECTED]> wrote:

> I would like perl to process a php page before or after the php
> interpreter get's it hands on the file.  I am trying to add a navbar to
> the PHP code.  How would I go about doing that?
>
> Sam

The simple answer is wait for Apache 2.x, but since that's just barely 
alpha now, that's a looong [sic] while away.

The issue in Apache 1.x is that you can use only one handler in any 
particular phase to process you're request.  Thus, php or mod_perl (or cgi, 
depending on how you meant to invoke perl).

But the real question is why?  I have never done a navbar on a page (most 
of my web work is server app development, not pages), si I may be making 
some wrong assumptions here.  If you are creating the page with a cgi or a 
mod-perl app, I would think you would be able to do the whole thing without 
ever using PHP.

But, if what you are really doing is displaying a page with server-side 
components, PHP is a much better chice by far than cgi or mod-perl.  What 
are you trying to do that php won't do for you?

-- Rob

       _ _ _ _           _    _ _ _ _ _
      /\_\_\_\_\        /\_\ /\_\_\_\_\_\
     /\/_/_/_/_/       /\/_/ \/_/_/_/_/_/  QUIDQUID LATINE DICTUM SIT,
    /\/_/__\/_/ __    /\/_/    /\/_/          PROFUNDUM VIDITUR
   /\/_/_/_/_/ /\_\  /\/_/    /\/_/
  /\/_/ \/_/  /\/_/_/\/_/    /\/_/         (Whatever is said in Latin
  \/_/  \/_/  \/_/_/_/_/     \/_/              appears profound)

  Rob Tanner
  McMinnville, Oregon
  [EMAIL PROTECTED]

Reply via email to