Subversion Repositories ALCASAR

Rev

Rev 2097 | Rev 2134 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2097 Rev 2108
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: status.php 2097 2016-12-17 02:20:43Z raphael.pion $
2
# $Id: status.php 2108 2017-01-06 08:50:25Z richard $
3
#
3
#
4
# status.php for Alcasar captive portal
4
# status.php for Alcasar captive portal
5
# by steweb57 & Rexy
5
# by steweb57 & Rexy
6
# 
6
# 
7
/****************************************************************
7
/****************************************************************
Line 295... Line 295...
295
					$a_connection = $l_a_connection." ".$a_connected." ".$l_a_connection_time; }
295
					$a_connection = $l_a_connection." ".$a_connected." ".$l_a_connection_time; }
296
			}
296
			}
297
		}
297
		}
298
		
298
		
299
		//store in a file user @IP who can join this page.
299
		//store in a file user @IP who can join this page.
300
		$filename='/tmp/current_users.txt';
300
		$filename='/var/tmp/havp/current_users.txt';
301
		//change me avoid duplicate user @IP
301
		//change me avoid duplicate user @IP
302
		$change_me = 1;
302
		$change_me = 1;
303
 
-
 
304
		//check if filename exists
303
		//check if filename exists
305
		if(file_exists($filename)){
304
		if(file_exists($filename)){
306
			$fichier = fopen($filename, "r");
305
			$fichier = fopen($filename, "r");
307
			$content = file($filename);
306
			$content = file($filename);
308
 
307