permissions to work with fopen
| From: | qt | Date: | Sat, 15 Feb 2003 19:11:39 +0000 |
| Subject: | permissions to work with fopen | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-135703@lists.php.net to get a copy of this message | ||
Dear Sirs,
I am planning to make a log file with fopen command.
I am succesfully read and write the file with fopen. But as I see fopen is
requiring a file with read and write permission for public.
I was using same method with perl in cgi-bin directory; but I was giving
read and write permission for only owner.
If I give write and read permission for only owner; fopen command can not
read the file.
Do you have any idea, how can I make log file with protecting from public?
Best Regards