sürekli güncellenen log dosyasindan veri cekmek istiyorum bu islemi nasil yapabilirim?
Log dosyasi bu sekilde
"192.168.1.1" "demouser" "GET / HTTP/1.1" "100" "Google Chrome" "2000"
5
●476
"192.168.1.1" "demouser" "GET / HTTP/1.1" "100" "Google Chrome" "2000"
$log='"192.168.1.1" "demouser" "GET / HTTP/1.1" "100" "Google Chrome" "2000"';
preg_match_all('@"(.*?)" "(.*?)" "(.*?)" "(.*?)" "(.*?)" "(.*?)"@si',$log, $match_content);
$ip=$match_content[1][0];
$user=$match_content[2][0];
$method=$match_content[3][0];
$port=$match_content[4][0];
$browser=$match_content[5][0];
$outport=$match_content[6][0];
echo $outport; Class 'Kassner\\LogParser\\LogParser' not found in /var/www/logparser/src/deneme.phphatasini aliyorum. Bu sorunu nasil cözebilirim?