Well ive been workin on this script for quite some time..make that 2weex...lol....well i felt that i should make a topic about it because i deserve it....here it is...
Msystems V3
Collapse
X
-
XXXTags: None
-
XXX -
XXX -
XXX -
Not a bad script xxx just add online status lol
click here to join blingywap.co.za
http://blingywap.co.za
IF YOU NEED HELP JUST ASK AND ALWAYS SAY THANK YOU!
Comment
-
XXX -
XXX
ayt normaly in C++ i can create a timer n so on..but since i wana add an online feature..the script has 2 check all the sessions and decide whether they are online or what?so is there anybody out there who knows how i can achieve this?
Comment
-
Guest
Well ive been workin on this script for quite some time..make that 2weex...lol....well i felt that i should make a topic about it because i deserve it....here it is...[/b]
Where is it?
Comment
-
XXX -
XXX
ayt i have achieved this ..check out at http://kasi69.110mb.com
Code:function online($user) { $place=$_GET['act']; if($place=="main") { $place="Main Page"; } $datepost=date("Y-m-d-H-i-s"); $now=time(); mysql_query("DELETE FROM online where user='$user'"); mysql_query("INSERT INTO online (user,place,datepost,now,unit) VALUES('$user','$place','$datepost','$now','1')"); $checkonline=mysql_fetch_array(mysql_query("SELECT * FROM online WHERE unit='1'")); $ses=$now-120; if($checkonline[3]<$ses) { mysql_query("TRUNCATE online"); mysql_query("INSERT INTO online (user,place,datepost,now,unit) VALUES('$user','$place','$datepost','$now','1')"); }
Comment
-
XXX

Comment