"; exit; } else if( $act == "ping" ) { ping_thread($thread, $isuser); start_xml_output(); echo ""; exit; } else if( $act == "close" ) { ping_thread($thread, $isuser); close_thread($thread, $isuser); start_xml_output(); echo ""; exit; } ?>