Michael Alaimo wrote:
> Does special configuration have to take place with PHP to let apache
> process server side include files that are HTML documents?
>
PHP doesn't care, but you will need to configure apache to do both SSI
and PHP processing.
--
Per Jessen, Zürich (17.8°C)
--
PHP Gene
Michael Alaimo wrote:
> Does special configuration have to take place with PHP to let apache
> process server side include files that are HTML documents?
>
> Mike
>
To clarify, you are talking about Apache SSI correct?
If so, then now. PHP has nothing to do with it, nor does it need to be
conf
Does special configuration have to take place with PHP to let apache
process server side include files that are HTML documents?
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In case anyone encounters this problem - using the latest 4.4.x
snapshot fixed the problem for me (thanks, developers!).
Kristina
On 12/5/05, kristina clair <[EMAIL PROTECTED]> wrote:
> On 12/5/05, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> > [snip]
> > I'm having a problem with certain SSI files
On 12/5/05, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> [snip]
> I'm having a problem with certain SSI files which include php scripts
> after upgrding php from 4.3.10 to 4.4.1.
> The includes look like:
>
>
> In some cases, the page output is different with 4.4.1 than it is with
> 4.3.10. In the
[snip]
I'm having a problem with certain SSI files which include php scripts
after upgrding php from 4.3.10 to 4.4.1.
The includes look like:
In some cases, the page output is different with 4.4.1 than it is with
4.3.10. In the worst cases, Apache gives a segmentation fault, and
the page is blan
Hello,
I'm having a problem with certain SSI files which include php scripts
after upgrding php from 4.3.10 to 4.4.1.
The includes look like:
In some cases, the page output is different with 4.4.1 than it is with
4.3.10. In the worst cases, Apache gives a segmentation fault, and
the page is bla
On Fri, October 28, 2005 9:36 am, Christoph Freundl wrote:
> Perhaps I return to what I primarily intended to ask: is it really the
> wanted behaviour of virtual() that changes that are made by the
> included file do not influence the environment of the including file?
That is most definitely a de
On Thu, October 27, 2005 3:43 am, Christoph Freundl wrote:
> I have a problem with the persistence of environment variables when
> mixing PHP and SSI (Apache) and I am not sure if I just made an error
> or if this approach cannot work at all.
> So please consider the following files:
I *believe* t
Christoph Freundl wrote:
Am Freitag, 28. Oktober 2005 13:42 schrieb Jochem Maas:
ok, and if you stick the following in 1 file and call it?:
... just thinking out loud here.
I just looked at apache_getenv():
string apache_getenv ( string variable [, bool walk_to_top] )
the second arg m
Am Freitag, 28. Oktober 2005 13:42 schrieb Jochem Maas:
> ok, and if you stick the following in 1 file and call it?:
>
>
>
>
> ... just thinking out loud here.
Ok, I tried this by configuring Apache such that .php-files are also
parsed for Server Side Includes and wrote it the way you suggest.
Christoph Freundl wrote:
Am Freitag, 28. Oktober 2005 13:22 schrieb Jochem Maas:
info.php
-
have yuou tried include/require here instead of virtual()
I imagine that the env of the subprocess wouldn't affect
the env of the parent process - i.e.
Am Freitag, 28. Oktober 2005 13:22 schrieb Jochem Maas:
> > info.php
> > -
> > > virtual( "setvar.shtml" );
>
> have yuou tried include/require here instead of virtual()
>
> I imagine that the env of the subprocess wouldn't affect
> the env of the
Christoph Freundl wrote:
Hello,
I have a problem with the persistence of environment variables when
mixing PHP and SSI (Apache) and I am not sure if I just made an error
or if this approach cannot work at all.
So please consider the following files:
setvar.shtml
-
Hello,
I have a problem with the persistence of environment variables when
mixing PHP and SSI (Apache) and I am not sure if I just made an error
or if this approach cannot work at all.
So please consider the following files:
setvar.shtml
-
--
> I've got to use some server side includes (and some SETs).
> And PHP is set up as a CGI program.
>
> If I include the php page from the .shtml page, the php page cannot
> receive queries.
>
> .php files are not set up to process these includes.
>
> And of course virtual(), etc. do not work bec
I've got to use some server side includes (and some SETs).
And PHP is set up as a CGI program.
If I include the php page from the .shtml page, the php page cannot
receive queries.
.php files are not set up to process these includes.
And of course virtual(), etc. do not work because PHP is set u
Hmmm after doing more research on it, it appears that this server
variable only appears in SSI documents.
And I didn't quote the variable correctly, its "QUERY_STRING_UNESCAPED"
I guess that SSI does not send through the querystring to the included script.
I might have to just use the QUERY
On Sunday 25 April 2004 09:56 am, Tim Traver wrote:
> Yes, I mean that php gets the server information for the request, but it
> doesn't get the QUERY_STRING variable. But it does get the
> UNESCAPED_QUERY_STRING variable...wierd, huh ?
Yeah, especially since I've never heard of UNESCAPED_QUERY_ST
Yes, I mean that php gets the server information for the request, but it
doesn't get the QUERY_STRING variable. But it does get the
UNESCAPED_QUERY_STRING variable...wierd, huh ?
It might be that apache isn't sending that variable to php from an included
file...not sure...
That's why I'm askin
Tim Traver wrote:
Hi all,
ok, this may be a dumb question, but I have a page that has server side
includes that include a php script like this :
Please send a new message if you have a new question, and do not reply
to a thread and change the subject. It breaks the conversation flow.
Where is
On Saturday 24 April 2004 10:29 pm, Tim Traver wrote:
> Hi all,
>
> ok, this may be a dumb question, but I have a page that has server side
> includes that include a php script like this :
>
>
>
> works fine, except the script doesn't appear to receive any of the query
> string information if that
Hi all,
ok, this may be a dumb question, but I have a page that has server side
includes that include a php script like this :
works fine, except the script doesn't appear to receive any of the query
string information if that page has a query string on it...
an example would be something li
Hi all,
ok, this may be a dumb question, but I have a page that has server side
includes that include a php script like this :
works fine, except the script doesn't appear to receive any of the query
string information if that page has a query string on it...
an example would be something li
Could anyone please shed some light on the following issue?
I have a problem with including a "test.php" into a "test.shtml" and passing
a variable to the "test.shtml" which should be available and processed in
the "test.php"
the "test.php" document includes the following:
---
r 15, 2002 10:39 AM
Subject: [PHP] Re: Strange problem with PHP,SSI
> Sport4ever wrote:
> > PHP version: 4.2.1
> > OS: RedHat Linux 8
> > Apache version: 2.0
> >
> > My problem is that I can't execute more than one (SSI include) on my
website JUST for PHP file.. s
Sport4ever wrote:
PHP version: 4.2.1
OS: RedHat Linux 8
Apache version: 2.0
My problem is that I can't execute more than one (SSI include) on my website JUST for PHP file.. so there is NO problems at all if I include HTML or SHTML files.
Anyway, if I include 2 PHP files into any page, the first
PHP version: 4.2.1
OS: RedHat Linux 8
Apache version: 2.0
My problem is that I can't execute more than one (SSI include) on my website JUST for
PHP file.. so there is NO problems at all if I include HTML or SHTML files.
Anyway, if I include 2 PHP files into any page, the first INCLUDE statement
So sprach »[EMAIL PROTECTED]« am 2001-12-21 um 15:12:54 -0800 :
> if you have a PHP page and you want to use SSI in it... is there a special
> method?
Yes - scrap it. It's neither senseful nor possible.
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (engli
> 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
Things you can do:
a) rewrite SSI as PHP
b) rewrite SSI as PHP
c) try using virtual()
d) include them via http, like with file() or include() or fopen()
(a) and (b) are preferred, (c) will work as will (d) and most likely [e-z]
:) Also, search through the archives for other advice on the m
if you have a PHP page and you want to use SSI in it... is there a special
method?
--
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]
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
ck Dunford, Christchurch, NZ
http://pdunford.godzone.net.nz/
http://www.trainweb.org/ferrymead/
> -Original Message-
> From: Gary [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 29 October 2001 14:59
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] SSI
>
>
> Yes I do, it is to run a
Yes I do, it is to run a pre-exiting program. I figured it out. I was
uing double quotes in the ssi and excaping them when echoing. I should
of been using single quotes.
Thanks
Gary
Christian Dechery wrote:
> At 19:04 28/10/01 -0500, Gary wrote:
>
>> How do you get a SSI to work on a php pag
At 19:04 28/10/01 -0500, Gary wrote:
>How do you get a SSI to work on a php page?
you don't need SSI if you're running PHP... just use include()...
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
How do you get a SSI to work on a php page?
TIA
Gary
--
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]
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,
--
45 matches
Mail list logo