> I'm on a shared server, and I do not believe that I have access to the /tmp > directory where the session files are stored (I believe that is how it works > :). I want to keep track of which sessions are active. Basically, I just > want a list of the active sessions for my site. > > How can I do this?
Hi Are we talking about smb shares for linux. If so, why dont you just ask your admin to create a share to "/tmp" or create via php a web page that looks at /tmp and displayes the file. Remember, there are many ways to skin a cat. >Copied and pasted from za.php.net< <?php $dir = "/tmp/"; // Open a known directory, and proceed to read its contents if (is_dir($dir)) { if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { echo "filename: $file : filetype: " . filetype($dir . $file) . "\n"; } closedir($dh); } } ?> Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php