Welcome to Origins '07!

This is a fun side project between drslicendice and Bitl.
This is meant to be a successor to Origins '06, another project with a working website but with a fake 2006 client.
By the way, Origins '07 is open source! Including the website!


Could not connect to database! Be sure you configured this correctly and added login parameters to func/htmlfunc.php!
prepare("SELECT * FROM games ORDER BY players DESC;"); $stmt->execute(); $result = $stmt->fetchAll(); $serversup = 0; if (count($result) == 0){ ?>
No servers are currently online at the moment! Try hosting a server
= time()-200)){ $serversup = $serversup + 1; echo '

' . $row["nameofgame"] . '

Hosted by: ' . $row["creatorname"] . '

Date: ' . $row["creationdate"] . '

Players: ' . $row["players"] . '/20

'; }}} if(($serversup == 0)&&(count($result) != 0)){ ?>
No servers are currently online at the moment! Try hosting a server
prepare($sql); if ($stmt->execute()){ ?>
Finished setting up SQL! No servers are currently online at the moment! Try hosting a server
Could not import table to database... You shouldn't see this error pop up.
Weird SQL error....

=3) && (strlen($servname)>=3)){ $newRandom = ""; do { $newRandom = generateRandomString(); } while (isset($alreadydone[$newRandom])); if ($newRandom != ""){ $stmt = $dbconn->prepare("INSERT INTO games (ip,port,creationdate,nameofgame,creatorname,randomid) VALUES (:ip,:port,:creationdate,:nameofgame,:creatorname,:randomid)"); $stmt->bindParam(':ip', $ip); $stmt->bindParam(':port', $port); $stmt->bindParam(':creationdate', $today); $stmt->bindParam(':nameofgame', $servname); $stmt->bindParam(':creatorname', $name); $stmt->bindParam(':randomid', $newRandom); $stmt->execute(); $url = $_SERVER['REQUEST_URI']; $parts = explode('/',$url); $dir = $_SERVER['SERVER_NAME']; for ($i = 0; $i < count($parts) - 1; $i++) { $dir .= $parts[$i] . "/"; } $dir = "http://" . $dir; ?>

, if you would like to host this new server, press the button below to launch the Dedicated Server. If it doesn't launch, use the Origins07 Installer.


'; ?> If you would like to go to the link of your server page, go here.
">