in reply to Re (tilly) 1: Help with a File Upload
in thread Help with a File Upload

...turn on taint checking...

If you look up to my original post it says that it's not the whole script. *grin* Taint checking's on.

...adding more informative dies...

I know where the script breaks. Right after the call to upload. I do my research. *grin*

- p u n k k i d
"Reality is merely an illusion, albeit a very persistent one." -Albert Einstein

  • Comment on Re: Re (tilly) 1: Help with a File Upload

Replies are listed 'Best First'.
Re (tilly) 3: Help with a File Upload
by tilly (Archbishop) on Feb 18, 2001 at 04:40 UTC
    If taint checking is on then your probable problem is the fact that there is tainted data. Check your logs.

    As for "doing your research", wrong answer. If you follow the advice in perlstyle you will minimize the chance that an unexpected error will wind up in a bad state but proceeding blindly. And by actually capturing error in an informative way you make it so that if something goes wrong then you generally have your answer in front of you before you start trying to debug.

    This is item which I feel very strongly about. Not knowing that error checks are important is one thing. But having a programmer be unwilling to learn to put in those checks is a fireable offence in my books. (And there are not a lot of things that I call fireable offences!)