Hi,

Monday, October 6, 2003, 2:10:46 PM, you wrote:
RC> On Sun, 2003-10-05 at 23:37, Tom Rogers wrote:
>> Hi,
>> 
>> Well I must have missed that one :)
>> My answer, if GLOBALS were not meant to be used they wouldn't be there..
>> So if they make life easier go ahead and use them. I notice a lot of 'purists'
>> on this list that want things done a certain way but the bottom line is do what
>> your comfortable with and works for you. Of course you have to keep security
>> issues under control as well, it would be no good doing this if you run with
>> register globals set to on as the array could very easily be trashed.

RC> All fine and dandy till you decide to use some other class or library
RC> that just happened to use the same global names you've used. Then you
RC> have a mess :) But sure, if that's not an issue, go ahead and globalize
RC> everything.

RC> Cheers,
RC> Rob.

No one was suggesting globalising everything :)

-- 
regards,
Tom

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

Reply via email to