Another question:
What is more effecient?
Putting this into client_connect:
PHP Code:
new iCurrentMonthYear[8]
new szLogFile[32]
Or add it outside of it. These 2 are only used in client_connect. The other 4 "new" (how do you call this exactly) are placed outside of it because they're going to be used in more functions.