prepare("SELECT * FROM emails WHERE `EmailAddress` = ? AND `Key` = ?"); $statement->bindValue(1, $_GET['email'], PDO::PARAM_STR); $statement->bindValue(2, $_GET['key'], PDO::PARAM_STR); $statement->execute(); $results = $statement->fetchAll(); if(count($results) == 0) { die("No valid email and key specified. Please check the email you received about the migration of your servers."); } $statement = $database->prepare("SELECT * FROM entries WHERE `EmailAddress` = ? ORDER BY `Finished` DESC"); $statement->bindValue(1, $_GET['email'], PDO::PARAM_STR); $statement->execute(); $vpses = $statement->fetchAll(); ?>

VPS migration status

prepare("SELECT * FROM servers WHERE `Host` = ?"); $statement->bindValue(1, $row['TargetNode'], PDO::PARAM_STR); $statement->execute(); $node = $statement->fetch(); $current_pos = $node['Current']; $real_pos = $my_pos - $current_pos; ?>
Username Status
A ⇒ B A B A ⇒ B A ⇒ B Queued in position . Transferring... Done! Failed