The Code-Bin
get_client_connects()
Posted by: TRUSTAbyss | August 4, 2008 @ 4:09pm
Revision 4 - Original post on December 11, 2007 @ 11:24pm

PHP Code



Syntax Highlighting





Author Comments
This function will output an integer value based on the number of connections to your server. Since this function allows you to look up any port, you can see how many clients are connected to any type of server! FTP, HTTP, SMTP etc. Enjoy!

Note: This function was tested on Windows, Linux, and Mac OS X.
Rating


4.55 / 8
290 Votes