log analysis

From: Date: Fri, 10 May 2002 11:24:46 +0000
Subject: log analysis
Groups: php.general 
Request: Send a blank email to php-general+get-96935@lists.php.net to get a copy of this message
Hi there, I'm working on using php to analyse an access log on an apache server. If a user inputs a file path I want to be able to use PHP to determine if it's a log file. Is there a function that will reject if it's not a binary file. If it's a binary file how would I then compare it to whats expected in a log file. Any help is appreciated J

« previous php.general (#96935) next »