[Solved]How to count the connections to the server?
-title-
|
Re: How to count the connections to the server?
Use your brain or search. This is probably the most basic plugin one can make and im sure its been done multiple times.
|
Re: How to count the connections to the server?
PHP Code:
|
Re: How to count the connections to the server?
Ehm g_Connections += 1 is not the same ?
|
Re: How to count the connections to the server?
gConnections++
dont forget to save the count in a file/nvault! |
Re: How to count the connections to the server?
Yes it is the same. You can also do g_Connections++ or ++g_Connections. They all will do the same thing in this instance.
|
Re: How to count the connections to the server?
I thought there was some difference between something++ and ++something, just didn't know what exactly.
|
Re: How to count the connections to the server?
Thanks ;D
|
Re: How to count the connections to the server?
Quote:
PHP Code:
If I am not mistaken...:shock: |
Re: How to count the connections to the server?
Quote:
Code:
Code:
|
| All times are GMT -4. The time now is 07:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.