> 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
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
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
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
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 script that executes a program,
and take the output from that program and parse it, which I don't know how
to
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
> 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
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 completely?
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]
>
>
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]
Any Ideas?
Thank you,
--
10 matches
Mail list logo