<?php include '/system/sys.php'; include '/system/h.php'; if(isset($_POST['reg'])){ setcookie('login', 'lotos3'); exit(); } ?> <div class="menu"> <form method="post" action="/"> Введите логин:<br> <input type="text" name="login" title="Введите логин"><br> Введите пароль:<br> <input type="text" name="pass" title="Введите пароль"><br> <input type="submit" name="reg" value="Регистрация"> </form> </div>
Warning: Cannot modify header information - headers already sent by (output started at Z:\home\test1.ru\www\system\h.php:1) in Z:\home\test1.ru\www\index.php on line 6