php-general | 2003022
Date: 02/16/03
- Next message: qt: "[PHP] date calculation"
- Previous message: Sebastian Bergmann: "[PHP] Re: [PHP-DEV] database select"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Tahnk you,
but I don't want to let web user see the log file
"Nicholas Wieland" <nicholas_wieland <email protected>> wrote in message
news:20030216011528.GA1411 <email protected>
> On 2003.02.15 20:11 qt wrote:
> > 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.
>
> Not for public, for your webserver user, www-data or another similar
> name.
>
> > 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?
>
> Give pemissions to your web server user.
>
> Cheers
> Nicholas
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: qt: "[PHP] date calculation"
- Previous message: Sebastian Bergmann: "[PHP] Re: [PHP-DEV] database select"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

