Reply to Re: Outside variables needed inside class
Posted by Justin Voelker on 05/18/07 13:40
Can anyone explain to me why globals are so bad? I have a $phpEx
variable in my main config file and i use "global $phpEx" inside of
certain functions that return links so I don't have to change a
hundred links if I change my php extension to something else (php4,
php5). Thanks for the great help everyone! Now if I can just figure
out how to implement your solutions...