Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Gets user entered details from form.
- if (isset($_POST['username'])) {
- $username=$_POST['username'];
- } else {
- $username=null;
- }
- if (isset($_POST['rawpassword'])) {
- $rawpassword=$_POST['rawpassword'];
- } else {
- $rawpassword=null;
- }
- // Hashes password through SHA-1.
- $password = sha1($rawpassword);
- echo "$username";
- echo "$rawpassword";
- echo "$password";
- if (isset($_POST['']))
- if (!isset($_POST['']))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement