Forum Moderators: coopster
it doesn't really make the site more vulnerable does it?
More vulnerable, no. But it can lead to unexpected results depending on what you are doing. Usually to get around something like this, you would use isset [php.net] to check for existence before doing something with the variable.
Also take note that errors should be logged on a production site and not echoed to the browser (for security reasons). I'm not sure if that's what you meant by more vulnerable.