$_REQUEST['id'], 'c' => 'lout', ); $conn =& ChatServer::getConnection($_REQUEST); $conn->process($req); //added $stmt = new Statement("DELETE FROM {$GLOBALS['fc_config']['db']['pref']}connections WHERE id = ?"); $stmt->process($conn->id); if(!$GLOBALS['fc_config']['showLogoutWindow']) { header("Refresh: 0; URL=images/spacer.gif"); exit; } else { ?> <?php echo $msg?>