Bonjour,
J'arrive à le lire du début vers la fin mais pas l'inverse.
Comment faire l'inverse?Code:
1
2
3
4
5
6
7
8
9
10
11 <?php $fp = fopen("logs/log.txt","r"); $page = ""; while (!feof($fp)) { $page .= fgets($fp, 4096); $page .= "<br>"; } echo $page; ?>
Merci