
* name.
* @ param $ip: The user's IP address
* @ param $username: Sending message user's name
* @ param $message: Massage content
*/
function saveChatLog($target,$ip,$username,$message){
/*
Please put the code for saving the chat record into the database.
*/
}
The function doesn't need the return value.
Explanation: only the administrator enables the function of saving chatting history
in the control panel at the background, the function works.
Commenti su questo manuale