Re: Using SSI within PHP

by Darrell King <darrell(at)webctr.com>

 Date:  Wed, 9 May 2001 06:58:28 +0500
 To:  hwg-techniques(at)mail.hwg.org
 References:  nucleus
  todo: View Thread, Original
You may want to search the PHP functon manual for "passthru"....you can do it from the upper right corner of their web site with the search engine: http://php.net

D

On Wed, 09 May 2001 01:57:10 -0600
Rob Atkinson <robatkinson(at)nucleus.com> wrote:

:Hello all,
:
:Here is a challenge I have not yet been able to meet and
:appreciate any helpful suggestions.
:
:Within some PHP pages, I need to make an SSI call. A little
:birdie told me that if I take this:
:(the <. is for Email programs)
:
:<.!--#include virtual="../cgi-bin/admin/pa/access.pl" -->
:
:and for PHP 4 turn it into:
:
:<.? virtual("../cgi-bin/admin/pa/access.pl"); ?>
:
:it should work. Maybe so but I get a Parse error.
:
:
:So then I'm thinking, if the above is correct, then it must a
:MIME setting, that I'm missing. But what MIME setting to use?
:
:Rather than fool with MIME settings for the whole site, I have
:tried the following within an .htaccess file for testing:
:
:AddType text/php .php
:AddType text/x-server-parsed-php .php
:AddHandler server-parsed .php
:
:Which still doesn't work!
:
:Being new to PHP, I'm not sure if my birdie led me astray or the
:problem "is" with the MIME, and I'm just not stating it
:correctly. Would anyone be familiar with what I'm trying to do?
:
:TIA
:
:Website Rob
:Helping people create a Potent Web Site
:

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA