source: system/cdma/cdma_log.php@ 1

Last change on this file since 1 was 1, checked in by george, 17 years ago

Prvotní import všeho

  • Property svn:executable set to *
File size: 302 bytes
Line 
1<?
2include_once('../../html/is/db.php');
3DB_Init('localhost','root','','statistic');
4
5$Filename = '/a/sys/cdma/cdma_pipe';
6$File = fopen($Filename, 'r');
7
8while(1)
9{
10 $Row = fgets($File);
11 if(strpos($Row, '/etc/ppp/ip-up started')>0)
12 DB_Query('UPDATE cdma SET number=number+1 WHERE id=1');
13}
14
15?>
Note: See TracBrowser for help on using the repository browser.