Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html><head>
- <title>Testando</title>
- </head>
- <body>
- <!--
- Tentei acessar diretamente e pelo action do form:
- http://localhost/codeigniter/index.php?user=teste&pass=123
- http://localhost/codeigniter/index.php/user/teste/pass/123
- http://localhost/codeigniter/user/teste/pass/123
- http://localhost/codeigniter/index.php?c=Welcome&m=login&user=teste&pass=123
- Se eu renomear name='user' para name='username' ou 'teste' ou 'email' não funciona também.
- Alterar o método para GET ou POST não funcionou.
- -->
- <form action="http://localhost/codeigniter/index.php?" method="get">
- Usuario: <input type="text" name="user" id="user" value="teste" required>
- Senha: <input type="text" name="pass" id="pass" value="123" required>
- <input type="submit" value="Botao submit">
- <button type="submit">Botao comum</button>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement