Hello Harry your question regarding where should i put that?
By default all forums have a who is onlie page
for example your online page would be
Code:
http://www.webhosting.uk.com/forums/online.php
If your wanting to know if you could put that on your main website you could but also think of the vulnerabilities as well
this script displays ips
Code:
$ip = getenv("REMOTE_ADDR");
i would rather use http script than the getenv one
you will be taking a risk of helping malicious users gain viewable and live computers ips
which is a major security risk
but the file here would be called
Code:
if(!file_exists($file_name))
where file_name = what you want it to be
i do hope this helps if im wrong im very sorry