Changeset 11 for administrace/borec/GMlog.php
- Timestamp:
- Aug 11, 2007, 12:04:22 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
administrace/borec/GMlog.php
r5 r11 1 1 <?php 2 include '../SubFiles/TestLicence.php'; 2 3 $GmCommandsLogFile = '/a/log/gm_commands.log'; 4 include('../SubFiles/TestLicence.php'); 3 5 ?> 4 6 <TABLE width="100%" border="0"> … … 7 9 <TD width="100%" valign="top"> 8 10 9 <? 11 <?php 12 $File = fopen($GmCommandsLogFile, 'r'); 13 if($File) 14 { 15 while(!feof($File)) echo(substr(fgets($File), 0).'<br>'); 16 fclose($File); 17 } 10 18 11 $File = fopen('c:\Mangos\Used_GM_Commands.log', 'r');12 fgets($File);13 while(!feof($File))14 echo(substr(fgets($File), 0).'<br>');15 19 ?> 20 16 21 </table>
Note:
See TracChangeset
for help on using the changeset viewer.