PHP newbieness (was Re: [prog] Introducing . . . )

Meredydd Luff meredydd at everybuddy.com
Tue Nov 5 21:34:53 EST 2002


On Tuesday 05 November 2002 20:32, abbey wrote:
> > I got around it by turning on the option
> > (whose name I forget) which makes all such variables global, and it
> > started working again, but I really scared myself there :-)
>
> but, as Katie mentioned, that global isn't as secure so it's not
> necessarily a good idea.
Point. However, this was in the middle of developing an application which was 
already mostly complete. Besides, I've been aware of this issue before (the 
php.net docs just about scream it at you ;-) ), and I always initialise ALL 
my variables. Never trust your input...

Meredydd
-- 

MSN Developer, Everybuddy project
http://www.everybuddy.com/

MSN:     blip109 at hotmail.com
AIM:     blip109
Yahoo:   modula7



More information about the Programming mailing list