Re: [PHP] PHP3 NOT being parsed for SSI!! HELP!!

2001-12-20 Thread dimok

Hello,

For including file you can use function "virtual()" with the file to include
as parameter. This work under Apache only.

Hope, it'll be useful for you.

dimok


- Original Message -
From: "Thomas Edison Jr." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 19, 2001 11:09 PM
Subject: [PHP] PHP3 NOT being parsed for SSI!! HELP!!


> Folks,
>
> I have a serious problem and i don't know what to do.
>
> We have a fixed  template  for  each intranet page.
> Now the template consists of a header, a left
> navigation and a footer. The body would contain
> my pages content.
>
> What we are doing at present is that the header, the
> left navigation and the footer is included in the page
> using SSI.  The header is a static include file.
> However the footer and the left navigation are
> customizable, and hence are dynamic pages (cgi
> scripts) which generate the appropriate code depending
> on the command line parameters.
>
> Now the problem is that php3 pages are not being
> parsed for SSI. I looked up on the web , and
> found that only one of two can be used at the same
> time.
>
> Can anyone suggest a Possible Solution? We are running
> a Solaris machine!
>
> Thanks,
> T. Edison Jr.
>
> =
> Rahul S. Johari (Director)
> **
> Abraxas Technologies Inc.
> Homepage : http://www.abraxastech.com
> Email : [EMAIL PROTECTED]
> Tel : 91-4546512/4522124
> ***
>
> __
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP3 NOT being parsed for SSI!! HELP!!

2001-12-20 Thread Steve Edberg

If you're using PHP as an Apache module, you can use virtual() -

http://www.php.net/manual/en/function.virtual.php

- to include the dynamic parts; vcstatic includes could be handled by 
virtual() or just a normal PHP include()/require().

- steve



At 11:09 PM -0800 12/19/01, Thomas Edison Jr. wrote:
>Folks,
>
>I have a serious problem and i don't know what to do.
>
>We have a fixed  template  for  each intranet page.
>Now the template consists of a header, a left
>navigation and a footer. The body would contain
>my pages content.
>
>What we are doing at present is that the header, the
>left navigation and the footer is included in the page
>using SSI.  The header is a static include file.
>However the footer and the left navigation are
>customizable, and hence are dynamic pages (cgi
>scripts) which generate the appropriate code depending
>on the command line parameters.
>
>Now the problem is that php3 pages are not being
>parsed for SSI. I looked up on the web , and
>found that only one of two can be used at the same
>time.
>
>Can anyone suggest a Possible Solution? We are running
>a Solaris machine!
>
>Thanks,
>T. Edison Jr.
>
>=
>Rahul S. Johari (Director)
>**
>Abraxas Technologies Inc.
>Homepage : http://www.abraxastech.com
>Email : [EMAIL PROTECTED]
>Tel : 91-4546512/4522124
>***
>


-- 
++
| Steve Edberg  [EMAIL PROTECTED] |
| University of California, Davis  (530)754-9127 |
| Programming/Database/SysAdmin   http://pgfsun.ucdavis.edu/ |
++
| "Restriction of free thought and free speech is the most dangerous of  |
| all subversions. It is the one un-American act that could most easily  |
| defeat us."|
| - Supreme Court Justice (1939-1975) William O. Douglas |
++

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHP3 NOT being parsed for SSI!! HELP!!

2001-12-19 Thread Thomas Edison Jr.

Folks,

I have a serious problem and i don't know what to do.

We have a fixed  template  for  each intranet page.
Now the template consists of a header, a left
navigation and a footer. The body would contain 
my pages content.

What we are doing at present is that the header, the
left navigation and the footer is included in the page
using SSI.  The header is a static include file.
However the footer and the left navigation are
customizable, and hence are dynamic pages (cgi
scripts) which generate the appropriate code depending
on the command line parameters.

Now the problem is that php3 pages are not being
parsed for SSI. I looked up on the web , and
found that only one of two can be used at the same
time. 

Can anyone suggest a Possible Solution? We are running
a Solaris machine!

Thanks,
T. Edison Jr. 

=
Rahul S. Johari (Director)
**
Abraxas Technologies Inc.
Homepage : http://www.abraxastech.com
Email : [EMAIL PROTECTED]
Tel : 91-4546512/4522124
***

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]