Re: Using SSI within PHP
by Darrell King <darrell(at)webctr.com>
|
Date: |
Wed, 9 May 2001 10:40:57 +0500 |
To: |
Rob Atkinson <robatkinson(at)nucleus.com> |
Cc: |
hwg-techniques-digest(at)mail.hwg.org |
References: |
abbeyink nucleus |
|
todo: View
Thread,
Original
|
|
Read this:
http://php.net/manual/en/function.passthru.php
http://php.net/manual/en/function.exec.php
http://php.net/manual/en/function.system.php
D
On Wed, 09 May 2001 08:00:52 -0600
Rob Atkinson <robatkinson(at)nucleus.com> wrote:
:Appreciate the help everyone and this is where I'm at so far:
:
:The php files I have, work just fine -- until I try to insert the
:SSI call.
:
:Tamara had suggested using:
:
: AddType application/x-httpd-php .htm .html
:
:which is no good. Although I never setup any MIME type myself, it
:appears that adding it in, turns the php files into a download.
:PHP 4.03 is installed on the Server so the MIME for PHP should
:not be required. I think it has something to do with the fact I
:am calling a PERL script.
:
:
:Using "include" in any; way, shape, or form, produces a printout
:(on the PHP page) of the text, of the script.
:
:Using "virtual" allows the SSI call to work as it should, the
:script to work as it should, and the PHP page displays -- yet I
:"still" get a PHP error msg.
:
:Warning: Unable to include (the SSI call)
:- request execution failed
:
:Which makes no sense?
:
:It "was" able to include the SSI call and the request "was"
:executed, and if not for the Warning msg. -- everything would be
:fine!
:
:Something tells me that there is just no-way, a person can use
:PHP and SSI -- to call a PERL/CGI script. A text file or html
:file, yes, but not something that competes with the way PHP
:works.
:
:I dunno???
:
:
:Website Rob
:Helping people create a Potent Web Site
:
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA