Просмотр файла blackgbs/rega.php

Размер файла: 786B
<?php
$title='Регистрация';
include 'config.php';
include 'head.php';
echo '<h4><center>
'.$title.'<br/></center></h4>';
if (!empty($_SESSION['rega']))
{
exit('К сожалению ты уже зарегистрировался!<br/>
'.$end);
}
$rand=rand(1111,9999);
echo '<form action="postrega.php" method="post">
<input type="hidden" name="rand" value="'.$rand.'"/>
Пароль:<br/>
<input type="text" name="pass" value=""/><br/>
Адрес сайта:<br/>
<input type="text" name="site" value="http://';
if (!file_exists("./admin/config.dat"))
{
echo $_SERVER['HTTP_HOST'];
}
echo '"/><br/>
Проверочное число: '.$rand.'<br/>
<input type="text" name="postrand" value=""/><br/>
<input type="submit" value="Готово"/><br/> 
</form>'; 
echo $end;
?>