Files
keliopanel-v1/0.7.1/panel/module/mysql/ajoutbdd.php
2016-02-21 01:33:05 +01:00

50 lines
2.2 KiB
PHP
Executable File

<?php
/*
Copyright (C) 2007 Mercier Benjamin
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
?>
<h3>Ajouter une base de données</h3>
<br />
Le nom de votre base de données ne doit contenir que les caractères a-z et 0-9 (3 caractères minimum et 6 maximum).<br />
Au nom de votre base de données, sera rajouté automatiquement le préfixe : "<?php echo $_SESSION['Utilisateur'] ; ?>_" <br />
Le mot de passe pour accéder à cette nouvelle base de données ne sera pas crypté, et accessible depuis le récapitulatif.<br />
Le mot de passe, tout comme le nom, ne doit contenir que les caractères a-z et 0-9 (3 caractères minimum et 9 maximum).
<br /><br /><br />
<div style="width: 500px; margin: auto">
<form action="execution-2.html" method="post">
<table width="500" cellpadding="5">
<tr>
<td style="width:100px">Nom de la base :</td>
<td style="width:400px"><input name="Nom" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%" maxlength="9" /></td>
</tr>
<tr>
<td>Mot de passe :</td>
<td><input name="MotDePasse" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%;" maxlength="9" /></td>
</tr>
<tr>
<td>Commentaire :</td>
<td><input name="Commentaire" type="text" style="border: 0; border-bottom: #006633 1px solid; background-color: #edffe1; width:100%;" maxlength="50" /></td>
</tr>
</table>
<div style="text-align: center; width: 100%; margin-top: 20px;">
<input type="submit" name="Submit" value="Créer la base de données" style=" border: #006633 1px solid; background-color: #edffe1;" />
</div>
</form>
</div>