Thatsh shome nische shcriptin', fella.
The only issue I can see is that it's probably not a good idea to hard-code a plaintext password into the script, as if any security holes arise with the CGI and the cracker in question manages to dump the source, they've got the password right in front of their eyes. You might want to keep it in a separate file, preferable encrypted.