Есть такой код. Все работало. С недавнего времени config.php включается при любом введенном пароле. Помогите найти ошибку.
index.php
CODE (htmlphp):
скопировать код в буфер обмена
скопировать код в буфер обмена
- <?php
- if (isset($_SESSION['u'])<>'12345')
- {$g='img2.gif';
- include "config2.php";}
- else
- {$g='img.gif';
- include "config.php";}
- ?>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- ...
- </head>
- <body>
- <table>
- <td>
- <input type="image" src="<?php echo $g ?>" id="show-button">
- <div id="prompt-form-container">
- <form id="prompt-form" action="conf.php" method="POST">
- <div id="prompt-message"></div>
- <input name="module" type="text">
- <input type="submit" value="Ок">
- <input type="button" name="cancel" value="Отмена">
- </form>
- </div>
- <script>
- ...
- </script>
- </td>
- </table>
- </body>
- </html>