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 page, I thought it would be possible
> with htaccess or http.conf but am struggling to find documentation for it.

When you say "that are constant" do you mean that they never change or 
just that they are the same for each page at any given time? 

If you need dynamic variables shared between all your pages, you're going 
to have to either use a database or shared memory as documented at:

   http://www.php.net/manual/en/ref.sem.php

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to