1
0
mirror of https://github.com/Chouchen/shorturl.git synced 2018-06-07 06:34:38 +02:00
shorturl/trunk/index.php
2010-12-23 11:26:25 +00:00

18 lines
411 B
PHP

<?
session_start();
include 'class/ShortURL.php';
$url = new ShortURL();
?>
<form action="short.php" method="post">
<label for="url">URL : </label><input type="text" name="url" />
<label for="shortName">Raccourci : </label><input type="text" name="shortName" />
<input type="submit" value="Envoyer">
</form>
<?
if(isset($_SESSION['msg'])){
echo $_SESSION['msg'];
unset($_SESSION['msg']);
}