repo.or.cz
/
gfh.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
0.8.1a
[gfh.git]
/
updateuser.php
blob
19a5d88ba8115a68003101d016afa8e480ce5deb
1
<
?php
2
include
"config.php"
;
3
$time
=
time
()-
600
;
4
$sql
=
"SELECT * FROM users WHERE lastsec>'
$time
'"
;
5
$result
=
mysql_query
(
$sql
);
6
$numrow
=
mysql_num_rows
(
$result
);
7
$fp
=
fopen
(
"/var/www/html/boards/user.txt"
,
"w"
);
8
fwrite
(
$fp
,
$numrow
);
9
fclose
(
$fp
);
10
?
>