Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $password = "123456";
- if ($_POST['password'] != $password) {
- ?>
- <h2>Logueate</h2>
- <form name="form" method="post" action="">
- <input type="password" name="password"><br>
- <input type="submit" value="Login"></form>
- <?php
- }else{
- ?>
- <script type="text/javascript">
- window.location="http://acatusubdirectorio.tupagina.com/nombredelarchivo.html";</script>
- <?php
- }
- ?>
Add Comment
Please, Sign In to add comment