Re: [PHP] SSI not working on PHP files with Apache

2010-09-02 Thread Per Jessen
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

Re: [PHP] SSI not working on PHP files with Apache

2010-09-02 Thread Jim Lucas
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

Re: [PHP] SSI problem with php after 4.3.10 -> 4.4.1 upgrade

2005-12-06 Thread kristina clair
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

Re: [PHP] SSI problem with php after 4.3.10 -> 4.4.1 upgrade

2005-12-05 Thread kristina clair
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

RE: [PHP] SSI problem with php after 4.3.10 -> 4.4.1 upgrade

2005-12-05 Thread Jay Blanchard
[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

Re: [PHP] SSI and PHP

2004-10-13 Thread Dan Joseph
> 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

Re: [PHP] SSI and query string variables to PHP

2004-04-25 Thread Tim Traver
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

Re: [PHP] SSI and query string variables to PHP

2004-04-25 Thread Evan Nemerson
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

Re: [PHP] SSI and query string variables to PHP

2004-04-25 Thread Tim Traver
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

Re: [PHP] SSI and query string variables to PHP

2004-04-25 Thread Burhan Khalid
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

Re: [PHP] SSI and query string variables to PHP

2004-04-25 Thread Evan Nemerson
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

Re: [PHP] SSI

2001-12-26 Thread Alexander Skwar
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

Re: [PHP] SSI

2001-12-22 Thread Philip Olson
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

RE: [PHP] SSI

2001-10-29 Thread Patrick Dunford
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

Re: [PHP] SSI

2001-10-28 Thread Gary
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

Re: [PHP] SSI

2001-10-28 Thread Christian Dechery
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