Re: [PHP] PHP & ssi

2001-12-25 Thread Joel Boonstra
> No, this isnt possible - but the constructs in PHP should allow you to > do anything you can do with SSI just as easily. This may be possible with Apache 2.0 and greater, once it's in stable release (perhaps it is already). It would allow the server to perform multiple passes on documents, thu

Re: [PHP] PHP & ssi

2001-12-21 Thread Philip Olson
Try virtual() http://uk.php.net/virtual Something like: virtual('cgi-bin/ssirand.cgi?REGION=Sports'); regards, Philip Olson On Fri, 21 Dec 2001, Nick wrote: > Well the include line I needed was this: > > Shane > > > > On Friday 21 Dec 2001 5:45 pm, Nick wrote: > >> Is it possible

Re: [PHP] PHP & ssi

2001-12-21 Thread Nick
Well the include line I needed was this: Shane > > On Friday 21 Dec 2001 5:45 pm, Nick wrote: >> Is it possible to have a .php file parse SSI's? I tried adding .php as a >> SSI file but it overwrote the php type, and wouldn't display PHP. And >> vice-versa. If not, i'd hafta write a php s

Re: [PHP] PHP & ssi

2001-12-21 Thread Shane Wright
Hi Nick, No, this isnt possible - but the constructs in PHP should allow you to do anything you can do with SSI just as easily. -- Shane On Friday 21 Dec 2001 5:45 pm, Nick wrote: > Is it possible to have a .php file parse SSI's? I tried adding .php as a > SSI file but it overwrote the php ty

Re: [PHP] PHP & SSI in armony?

2001-07-21 Thread Jack Sasportas
The answer is up to you. You make the shtml generate the php, OR the php generate the shtml... My guess is probably php generates the shtml, and the reference to it... I think that should work... Seb Frost wrote: > I want to use both PHP and SSI on the same page. My server requires that > SSI f

Re: [PHP] PHP & SSI in armony?

2001-07-21 Thread Rasmus Lerdorf
> I want to use both PHP and SSI on the same page. My server requires that > SSI files are .shtml. If I set it to also treat .shtml files as php files > (like I have done with .htm) then what will happen? Will it get parsed > first for php and then for ssi, or the other way round? Or puke comp

Re: [PHP] PHP SSI

2001-02-20 Thread Simon Garner
From: "Brandon Orther" <[EMAIL PROTECTED]> > Hello, > > I am writing a banner rotation script and want to use Server Side include. > When I try to include from any server other than the one that php script is > on I get an error, > > Error: [an error occurred while processing this directive] > >