good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Re: Re: Does fatalsToBrowser give too much information to a cracker?by Juerd (Abbot) |
on Apr 10, 2002 at 15:09 UTC ( [id://158037]=note: print w/replies, xml ) | Need Help?? |
Sure so you should use ? place holders.
Well, doh :) Not using placeholders or a quote function is a beginners mistake - I agree that code like that should be concealed in every possible way.
Simple style rules can prevent a lot of trouble. Check for definedness, never use input without checking first. But another good thing is knowing how problems like the code you supplied can be exploited, so you can avoid such stupidity in your own programs. It's a learning process, but also a matter of self-confidence.
In Section
Seekers of Perl Wisdom
|
|