in reply to save form

With while (<$webparams>), you're reading $webparams as if it were a filehandle, but the previous code makes that very unlikely.

(If you were to do a warn $webparams, youre query would be printed into your error_log, so you could see how to parse it. But don't. Instead, use CGI; to see and parse the params, as it will do that for you and do it correctly.)

Then, although you've created an output filehandle FILE, your print statement doesn't reference it at all, so assuming you print anythng at all, it's going to STDOUT, not to the file.

--Bob Niederman, http://bob-n.com