[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re:[cobalt-users] Read Log Files with PHP
- Subject: Re:[cobalt-users] Read Log Files with PHP
- From: RaQ3 <cobalt@xxxxxxxxxxx>
- Date: Mon Mar 12 04:37:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"WebWorkshop" <webmaster@xxxxxxxxxxxxxxx> wrote on 10.03.01 23:29:27:
>
>Hi, I'm trying to write a PHP script that reads the log files from the
>individual sites on a RaQ 4r (as in /home/sites/www.site.com/logs/web.
>log). However, when I try to open a log for reading (with fopen) I get
>a permission denied error. Is it possible to read the web.log files
>with PHP? If so, how?
Hi !
It depends. If you want to make it readable from an Apache-Script, the
logs have to be readable for Apache.
Maybe it would be a better idea to write the script for the Script-
Version of php and have it run via cron ?
Thomas
--
InternAd.de
Internet Advertising
Thomas Prosi
tp@xxxxxxxxxxx