Main » Files » Site Script » Chat | [ Add new entry ] |
Download | |
requires "php_messenger.php" - connecting of PHP Messenger $pm=new PM_AIM() - Create AIM object $pm->Login($screenname,$password) - Connect to AOL server $screenname - AOL account screenname $password - password If login is completed, then function returns TRUE, otherwise it returns FALSE $pm->Send_Message($screenname,$message_text) - Send message $screenname - recipient's screenname $message_text - message text $pm->Send_Message_Confirm($screenname,$message_text) - Send message with confirm receipt Function returns TRUE/FALSE Works slowly in comparison with Send_Message $incoming_message=$pm->Read_Message($wait_time) - Read incoming message $wait_time - waiting time in seconds, you can use fractional numbers If $wait_time==-1 - function waits for unlimited time Function returns array: $incoming_message['UIN'] - sender's screenname $incoming_message['message'] - message text $incoming_message['message_text'] - text without HTML tags if a message is not received, function returns FALSE $pm->Off_Line() - disconnection with AOL server | |
Views: 4306 | Downloads: 171 | Rating: 0.0/0 |
Popular Clone Site |
Statistics Total online: 1 |
Frendly Site |
Advertising |
Theme Design by The Theme Foundry | Hosted by uCoz | Programming by Karwanpro
Copyright Clone Site © 2010 - 2024