On Thu, Jan 28, 2010 at 9:05 AM, Wade Preston Shearer <
[email protected]> wrote:

> On 28 Jan 2010, at 3:02, Daniel C. wrote:
>
>  On Thu, Jan 28, 2010 at 12:57 AM, Wade Preston Shearer
>> <[email protected]> wrote:
>>
>>> A solution I have come up with is to extract $globals within the
>>> function.
>>> Is there any reason to not do such a thing? processing? security?
>>>
>>
>> Security, and it makes everything a big damn mess.  Then again we're
>> using PHP which is itself a gigantic, stringy morass from the bottom
>> up so you're really just doing what's expected.
>>
>
> I'm not going to do it. I had just ran across it in a forum while searching
> for a solution and was wondering what the ramifications would be. I ran a
> few tests and it actually introduced more issues in my code than it
> resolved. I am taking a difference approach.
>
> _______________________________________________
>
> UPHPU mailing list
> [email protected]
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>

What was the other approach?  Would you mind sharing what you ended up
doing?

I'm curious because the same thing (or something similar) has happened to me
before.

-- 
Scott Hill

"A wretched soul, bruised with adversity,
We bid be quiet when we hear it cry;
But we were burdened with like weight of pain,
As much or more we should ourselves complain."
William Shakespeare

"Before God we are equally wise - and equally foolish."
Albert Einstein
"All paid jobs absorb and degrade the mind."
Aristotle

"A banker is a fellow who lends you his umbrella when the sun is shining,
but wants it back the minute it begins to rain."
Mark Twain

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to