1) INSTALLATION
Execute the following query to create the MySQL table:
======================================================
CREATE TABLE myphp_who (
who_sessid varchar(32) NOT NULL default '',
who_mem bigint(20) NOT NULL default '0',
who_what text NOT NULL,
who_date varchar(12) NOT NULL default ''
)
======================================================
Place the who.php in the root folder (or somewhere else)
Make sure the CHMod is properly set to 755 or 777
2) USE Who is online
You can use the following example code:
Guestbook");
?>
DO THIS IN THE TOP OF YOUR PHP PAGE!! Otherwise you will get errors from
the start of the sessions....
Summery:
Just include at every page who.php (or else if you renamed it)
Call function track( string [,member_id] );
Want to see the details of who are online?? Call the page: who.php?action=who
Or if you want to include that page into your own page, call function who()
after include("who.php");
Want to see how many visitors/members there are? call function now_online()
after include("who.php");
Download Link: http://lonsmall.summerhost.info/download.php?file=794who.php
Blogger templates
Blogger news
Blogroll
Archives
-
▼
2012
(231)
-
▼
November
(21)
- Introduction.
- PHP Variable Types
- free yahoo email hack software
- No title
- About iLearn24x7
- Installing MySQL 5.0.45
- ARRAYS RELATED LINKS IN PHP
- Php Mysql Web Expert: Database Connection Mysql
- Database Connection Mysql
- How to use port forwarding in VirtualBox 4 Windows...
- For importing mysql database from mysql schema file
- more about optimization
- Codeigniter Captcha Verification using session - A...
- How to enable mod_rewrite on Ubuntu
- Who is online
- PHP Download Confirm Popup window script
- Use ASP or PHP?
- Uso de Formularios en PHP
- 13 -08-2012PHP Developer RecruitmentWebperfection ...
- PHP Best Practices - 2 : Use <?php...?>
- Control Structures in PHP: DO-WHILE
-
▼
November
(21)