Hi

I was wondering about includes and classes. I have a class in which
depending on a member variable, i should load
the proper include, which is really the proper config file for that moment.
Now if i do this in the constructor
i can't seem to be able to use the variables found in my config in the other
member functions.

Any way to set a "include 'congig.php'" as global for the whole class once
instead of calling "include 'congig.php'" it in every function?

Thanks for the help,

Olivier Dubreuil
Président
dubreuilmedia
www.dubreuilmedia.com
514 457 6211

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

Reply via email to