ho risolto con un array
codice:$count = 0; $percorsoFile = "./Logging.log"; $news=fopen($percorsoFile,"r"); while (!feof($news)) { $buffer = fgets($news, 4096); $count = $count + 1; $arrayLog[$count] = $buffer; } fclose ($news); for($i=sizeof($arrayLog); $i>1 ; $i-- ){ print("$arrayLog[$i] \n"); }

Rispondi quotando