Advertisement
Guest User

CodeIgniter bug 2

a guest
Aug 5th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.94 KB | None | 0 0
  1. <!doctype html>
  2. <html><head>
  3.         <title>Testando</title>
  4. </head>
  5. <body>
  6.     <!--
  7.    Tentei acessar diretamente e pelo action do form:
  8.        http://localhost/codeigniter/index.php?user=teste&pass=123
  9.        http://localhost/codeigniter/index.php/user/teste/pass/123
  10.        http://localhost/codeigniter/user/teste/pass/123
  11.        http://localhost/codeigniter/index.php?c=Welcome&m=login&user=teste&pass=123
  12.    Se eu renomear name='user' para name='username' ou 'teste' ou 'email' não funciona também.
  13.    Alterar o método para GET ou POST não funcionou.
  14.    -->
  15.     <form action="http://localhost/codeigniter/index.php?" method="get">
  16.         Usuario: <input type="text" name="user" id="user" value="teste" required>
  17.         Senha: <input type="text" name="pass" id="pass" value="123" required>
  18.         <input type="submit" value="Botao submit">
  19.         <button type="submit">Botao comum</button>
  20.     </form>
  21. </body>
  22. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement