$_NEW_USERQUOTA['nDatabasesHard'] = 5;
$_NEW_USERQUOTA['nBytesSoft'] = 94371840;
$_NEW_USERQUOTA['nDatabasesHard'] = 5;
$_NEW_USERQUOTA['nBytesSoft'] = 94371840;
-$_NEW_USERQUOTA['nBytesHard'] 104857600;
+$_NEW_USERQUOTA['nBytesHard'] = 104857600;
$_NEW_USERQUOTA['dCreated'] = 'NOW()';
$_NEW_USERSTAT['nDatabases'] = 0;
$_NEW_USERQUOTA['dCreated'] = 'NOW()';
$_NEW_USERSTAT['nDatabases'] = 0;
defined('ADMINDB') || define('ADMINDB', 'mitsql');
$BASE_PATH = dirname(__FILE__).'/';
defined('ADMINDB') || define('ADMINDB', 'mitsql');
$BASE_PATH = dirname(__FILE__).'/';
+$URI = (isset($_SERVER['REQUEST_URI'])?$_SERVER['REQUEST_URI']:'');
set_time_limit(0);
ignore_user_abort(1);
set_time_limit(0);
ignore_user_abort(1);
print_r($User->getDBList());
*/
print_r($User->getDBList());
*/
+phpinfo();
+
+//checkQuotas();
include 'tpl/foot.php';
?>
include 'tpl/foot.php';
?>
-<strong>We strongly recommend you keep your own backups of your SQL schema and data. MySQL data is not stored in AFS.</strong>
+<strong>We strongly recommend you keep your own backups of your SQL schema and data.</strong> Your MySQL data is not stored in AFS.
Although we use various technical means to try to ensure the availability of your data (including hardware-level redundancy and real-time replication), we can make no guarantees about the reliability of the service and access to your data.
Although we use various technical means to try to ensure the availability of your data (including hardware-level redundancy and real-time replication), we can make no guarantees about the reliability of the service and access to your data.
-<?/*
-As you work with your SQL data, it is automatically saved on an additional secondary SQL server for restoration in the event of a server failure.
-Although we continually put forth our best efforts, we can make no guarantees about the reliability of the service and access to the data.
-*/?>
+<form method=post action="<?=$URI?>">
<h3>Please enter your MySQL login information:</h3>
<p>username: <input type="text" name="u" value="<?=isset($i_u)?$i_u:''?>"></p>
<p>password: <input type="password" name="p"></p>
<?php elseif (isSSL() && !empty($SSLCred)): ?>
<h3>Please enter your MySQL login information:</h3>
<p>username: <input type="text" name="u" value="<?=isset($i_u)?$i_u:''?>"></p>
<p>password: <input type="password" name="p"></p>
<?php elseif (isSSL() && !empty($SSLCred)): ?>
+<form method=post action="<?=$URI?>">
<h3>You are identified as: <?=$SSLUsername?></h3>
<p><?=$SSLName?></p>
<p><?=$SSLEmail?></p>
<h3>You are identified as: <?=$SSLUsername?></h3>
<p><?=$SSLName?></p>
<p><?=$SSLEmail?></p>
if (isset($i_dropask)) {
$dropdbs = array_keys($i_dropask);
if (isset($i_dropask)) {
$dropdbs = array_keys($i_dropask);
- echo '<form method="post">';
+ echo '<form method="post" action="', $URI,'">';
foreach($dropdbs as $dbname) {
$msg1[] = 'Are you sure you want to drop `'.$dbname.'`? <input style="position:absolute; right:20px;" type="submit" name="drop['.$dbname.']" value="Yes">';
}
foreach($dropdbs as $dbname) {
$msg1[] = 'Are you sure you want to drop `'.$dbname.'`? <input style="position:absolute; right:20px;" type="submit" name="drop['.$dbname.']" value="Yes">';
}
+<form method="post" action="<?=$URI?>">
<?php printErrors($err1); ?>
<?php printMsgs($msg1); ?>
</form>
<table width="100%">
<?php printErrors($err1); ?>
<?php printMsgs($msg1); ?>
</form>
<table width="100%">
+<form method="post" action="<?=$URI?>">
<?php
$bytes = $User->getBytes();
$usage = $bytes['nBytes'];
<?php
$bytes = $User->getBytes();
$usage = $bytes['nBytes'];
+<form method="post" action="<?=$URI?>">
<p align="right"><span style="width: 150px;"><label for="p1">new database:</label></span> <input type="text" name="newdb">
<input type=submit value="add"></p>
</form>
<p align="right"><span style="width: 150px;"><label for="p1">new database:</label></span> <input type="text" name="newdb">
<input type=submit value="add"></p>
</form>
<?php printErrors($err); ?>
<?php printMsgs($msg); ?>
<?php printErrors($err); ?>
<?php printMsgs($msg); ?>
+<form method="post" action="<?=$URI?>">
<table>
<?/*
<tr><td align="right">old password:</td><td><input type="password" name="p[0]"></td></tr>*/?>
<table>
<?/*
<tr><td align="right">old password:</td><td><input type="password" name="p[0]"></td></tr>*/?>
Your MySQL password should be different from your Athena account password.
Your MySQL password should be different from your Athena account password.
+<form method=post action="<?=$URI?>">
<p><span style="width: 150px;"><label for="p1">password:</label></span> <input type="password" name="p1"></p>
<p><span style="width: 150px;"><label for="p2">repeat password:</label></span> <input type="password" name="p2"></p>
<input type=submit value="Confirm Registration">
<p><span style="width: 150px;"><label for="p1">password:</label></span> <input type="password" name="p1"></p>
<p><span style="width: 150px;"><label for="p2">repeat password:</label></span> <input type="password" name="p2"></p>
<input type=submit value="Confirm Registration">