Re: [PHP] global variables without sessions on apache

2002-06-06 Thread Zac Hillier
Thanks Jason, Works great in htaccess Zac - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 06, 2002 4:08 AM Subject: Re: [PHP] global variables without sessions on apache > On Thursday 06 June 2002

Re: [PHP] global variables without sessions on apache

2002-06-05 Thread Jason Wong
On Thursday 06 June 2002 06:05, Zac Hillier wrote: > Miguel, > > I mean that the variables will never change per Virtual host but that the > site is a template for many sites and these vars are part of the > distinction for each site / Virtual Host. > > So far the suggestions of using the auto-pr

Re: [PHP] global variables without sessions on apache

2002-06-05 Thread Zac Hillier
day, June 05, 2002 7:12 PM Subject: Re: [PHP] global variables without sessions on apache > On Wed, 5 Jun 2002, Zac Hillier wrote: > > Is it possible using php on our own apache server to create global > > variables for virtual host without having to use session variables. > >

Re: [PHP] global variables without sessions on apache

2002-06-05 Thread Miguel Cruz
On Wed, 5 Jun 2002, Zac Hillier wrote: > Is it possible using php on our own apache server to create global > variables for virtual host without having to use session variables. > > We would like to have three variables that are constant for each virtual > host and that are available from every p

Re: [PHP] global variables without sessions on apache

2002-06-05 Thread Jason Wong
On Wednesday 05 June 2002 22:45, Zac Hillier wrote: > Could you expand on this a little more? I've tried searching for > auto-prepend in both php documentation and apache and cannot find anything > thats relates to our needs. In php.ini there is a setting called "auto_prepend_file". Set it to wh

Re: [PHP] global variables without sessions on apache

2002-06-05 Thread Zac Hillier
To: <[EMAIL PROTECTED]> Sent: Wednesday, June 05, 2002 2:46 PM Subject: Re: [PHP] global variables without sessions on apache > On Wednesday 05 June 2002 20:40, Zac Hillier wrote: > > Hi, > > > > Is it possible using php on our own apache server to create global > > va

Re: [PHP] global variables without sessions on apache

2002-06-05 Thread Justin French
I'm not sure about at a htaccess level, but at a php.ini level I believe you can set a file to "always include" at the top of every php page. This file could simply be: Not sure on the specifics, but it was discussed on the list in the last two weeks, and i'm sure there is documentation for th

Re: [PHP] global variables without sessions on apache

2002-06-05 Thread Jason Wong
On Wednesday 05 June 2002 20:40, Zac Hillier wrote: > Hi, > > Is it possible using php on our own apache server to create global > variables for virtual host without having to use session variables. > > We would like to have three variables that are constant for each virtual > host and that are av

[PHP] global variables without sessions on apache

2002-06-05 Thread Zac Hillier
Hi, Is it possible using php on our own apache server to create global variables for virtual host without having to use session variables. We would like to have three variables that are constant for each virtual host and that are available from every page, I thought it would be possible with hta