
dws
Deleted
Jul 16, 2000, 2:21 PM
Post #2 of 2
(480 views)
|
|
Re: scipts cannot access a file
[In reply to]
|
Can't Post
|
|
Any one of a number of things can be going on. The range of possiblities could be narrowed if you could tell us how the script is terminating (e.g., are you printing the value of $! if an open fails?) One common cause: the CGI process may be running as a different user (e.g., "nobody") who doesn't have read or write access into your cgi-bin directory. Printing $! after an open fails should point the way, but if you do use die(), make sure that you've printed a valid response header first.
|