php3-list | 2000051
Date: 05/15/00
- Next message: Allen Francom: "Re: [PHP3] Cookie Confusion .."
- Previous message: Richard Lynch: "Re: [PHP3] remote DB(sybase) connection question"
- In reply to: Andres Montiel: "[PHP3] SSI and PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <4.3.1.0.20000515175501.00b69ea0 <email protected>>,
amontiel <email protected> (Andres Montiel) wrote:
> I have a html page that uses server-side includes for some of the text. I
> tried putting in some php code on top to authenticate users. The PHP code
> is correct; they're enclosed in <?php ?> and everything is in its proper
> place. But when I run it, the SSIs don't run anymore.
>
> Can PHP and SSIs run properly if both are in a html page?
Apache is not designed to do "stacked handlers". (IE, what you are trying
to do.)
Nearly anything you can do in SSI can be recoded in PHP in about 5
minutes. The converse is not true :-)
If you really need SSI and PHP, look into replacing Apache with fhttpd,
which allows stacked handlers.
-- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Allen Francom: "Re: [PHP3] Cookie Confusion .."
- Previous message: Richard Lynch: "Re: [PHP3] remote DB(sybase) connection question"
- In reply to: Andres Montiel: "[PHP3] SSI and PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

