in reply to Re: How do I test whether a file has write permission?
in thread How do I test whether a file has write permission?
if (!(-w FILE)) { print "Content-type: text/plain\n\n"; print "Error: This file does not have write permission!\n"; exit; }
|
|---|