create a new database called 'users', with 3 fields inside a table. These fields are timestamp, ip and file. Name the table useronline by the way. Now with the form on the PhpMyAdmin page, add the following code: CREATE TABLE useronline ( timestamp int(15) DEFAULT '0' NOT lisanssız, ip varchar(40) NOT lisanssız, file varchar(100) NOT lisanssız, PRIMARY KEY , KEY ip , KEY file ); Step 2: The PHP Script &lt;?php //Put your basic server info here $server = &quot;localhost&quot;; //normally localhost $db_user = &quot;username&quot;; //your MySQL database username $db_pass = &quot;password&quot;; //your MySQL database password $database = &quot;users&quot;; $timeoutseconds = 300; //this is where PHP gets the time $timestamp = time ; $timeout = $timestamp-$timeoutseconds; //connect to database //$server = localhost probably //$db_user = your MySQL database username //$db_pass = //your MySQL database password mysql_connect ; //insert the values $insert = mysql_db_query($database, &quot;INSERT INTO useronline VALUES &quot;); if(! //delete values when they leave $delete = mysql_db_query ; if(! //grab the results $result = mysql_db_query ; if(! //number of rows = the number of people online $user = mysql_num_rows ; //spit out the results mysql_close ; if($user 1) else ?&gt;

http://www.tamindir.com/program. asp?id=3317 buna bakmanı tavsiye ederim..

online kullanıcıları gösteren php kodu örneği nerden bulabilirim arkadaşlar.. saygılar.