Don't put CGI scripts in a directory chmoded to 777, it's a Bad Idea TM. It means that ANYONE can write to that directory. Is that really what you want? 755 is a much safer idea :)
----------
My cow-orkers were talking in punctuation the other day. What disturbed me most was that I understood it.
Comment on Re^3: Problem retrieving data using WWW::Curl