Re: php not reading file properly | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
sean greenslade a écrit :
$fh = fopen($myFile, 'r');
Here, they are some return code to ckeck.
but not when I access it thru the web. when I browse to it, it just displays
the static text ("This weeks apache log (clears every sunday morning):"),
not the log text.
Who owned /var/log/httpd/access_log ? What mode accesses on the file ? What user runs the webserver (www-data, apache, someunprivileged) ?
-- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[Search] [PHP Home] [Free Matchmaking Site] [Apache Users] [PHP on Windows] [Programming PHP] [Kernel Newbies] [PHP Install] [PHP Classes] [Postgresql] [Postgresql PHP] [PHP Books] [PHP for Windows] [Never a Charge Dating] [PHP Databases] [PHP SOAP] [PHP Books]
![]() |