Of course. Btw... You aren't running into a PHP limitation. You're
experiencing an issue of programming design and how to integrate different
technologies. If anything, Apache is what's limiting you, because of the
order of presedence in how it processes files.
>From what you've said, you want
s
[EMAIL PROTECTED]
- Original Message -
From: "Sandman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 03, 2002 9:11 PM
Subject: Re: [PHP] parsing of SSI scripts.
In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Ed Lazor) wrote:
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Andrew Chase) wrote:
> I'm not sure if Apache will recursively process documents this way (Perl
> script -> HTML output with embedded PHP -> parsed PHP), but what about adding
> this HTTP header to your PERL script's output before the HTML/PHP
would (in theory) know know that the PERL script's output should be
parsed by PHP.
-Andy
> -Original Message-
> From: Sandman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 03, 2002 1:09 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] parsing of SSI scrip
> It seems that PHP is much more powerful and would completely replace the
> need for SSI.
Heh...wow...the understatement of the century.. :)
Glad you figured that out.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Ed Lazor) wrote:
>> I think I misunderstood your question. You have a Perl script that
>> returns HTML and SSI and you want that string, returned to PHP, to be
>> parsed by Apache, so the SSI is evaluated, right?
> It seems that PHP is much
In article <008c01c222c9$fa9c3fb0$2f7e3393@TB447CCO3>,
[EMAIL PROTECTED] (1lt John W. Holmes) wrote:
> I think I misunderstood your question. You have a Perl script that returns
> HTML and SSI and you want that string, returned to PHP, to be parsed by
> Apache, so the SSI is evaluated, right?
>
It seems that PHP is much more powerful and would completely replace the
need for SSI.
-Original Message-
I think I misunderstood your question. You have a Perl script that returns
HTML and SSI and you want that string, returned to PHP, to be parsed by
Apache, so the SSI is evaluated, rig
need to use include() or require();
virtual() cannot be used to include a document which is itself a PHP file.
---John Holmes...
- Original Message -
From: "Sandman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 03, 2002 3:21 PM
Subject: Re: [P
You're only receiving the processed results when you source the php file
from another server. In other words, it's like viewing the web page
through your browser.
-Original Message-
> If the script is run over the web, you can just do a
> fopen("http://www.example.com/script.php";); an
In article <007501c222c5$2014f020$2f7e3393@TB447CCO3>,
[EMAIL PROTECTED] (1lt John W. Holmes) wrote:
> > I have a perl script that outputs HTML data. How would I do to execute
> > that script from within a php-script and have it's output parsed by
> > -apache-.
> >
> > I'm not talking about ev
e source.
---John Holmes...
- Original Message -
From: "Sandman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 03, 2002 2:58 PM
Subject: [PHP] parsing of SSI scripts.
> I have a perl script that outputs HTML data. How would I do to execute
that
>
I have a perl script that outputs HTML data. How would I do to execute that
script from within a php-script and have it's output parsed by -apache-.
I'm not talking about eval(), but rather have apache parse it to invoke php
for whatever code I output. Let's say the perl script outputs:
The ye
13 matches
Mail list logo