Tutorials Navigation
Simple PHP login Script
Tutorial Name: Simple PHP login Script
Category: PC Tutorials
Submitted By: Ella
Date Added:
Comments: 0
Views: 2,201
Related Forum: PC Building Forum
Share:
Okay this is a basic login script that I coded.
It took about 5-10 minutes to code...
[ Register or Signin to view external links. ]
okay to set it up you need to hash a username and a password.
Use this link
[ Register or Signin to view external links. ]
now enter the hashes in at
$user
and
$pass
then edit $self
or just edit lines 20, 21 and 22
<style type="css/text">
textarea
{
font-family: Courier New, Courier, monospace;
font-size: 14px;
color: #000000;
border:double;
border-color:#3C3C3C;
background-color:#60D5C9;
}
hr
{
background-color: #33CCCC;
}
</style>
<?php
$passe = md5($_POST['passentry']);
$usere = md5($_POST['userentry']);
$self= 'http://thefinalstring.com';
$pass = '81dc9bdb52d04dc20036dbd8313ed055';
$user = '81dc9bdb52d04dc20036dbd8313ed055';
?>
<center>
<body text=#336666 bgcolor="#0000000" style="font-family: Courier New, Courier, monospace;
font-size: 18px;" oncontextmenu="return false;">
<form method="post">
Username:<input type="text" name="userentry" /><br>
Password:<input type="password" name="passentry" /> <br>
<input type="submit" value="Login" name="Login" />
</form></center>
</body>
<?php
echo base64_decode("PGNlbnRlcj48Zm9udCBjb2xvcj1cInJlZFwiPiBDUkVBVEVEIEJZIE5FUk8gQCA8YSBocmVmPSJod
HRwOi8vdGhlZmluYWxzdHJpbmcuY29tIj4gVGhlIEZpbmFsIFN0cmluZyEgPC9hPjwvZm9udD48L2NlbnRlcj4NCg==")
;;
?>
<?php
if (isset($_POST['Login']) && $passe===$pass && $usere===$user )
{
header('location:'.$self);
}
if(isset($_POST['Login']) && $passe== " ")
{ echo "<br><font color=red><b>Please enter a password</font></b><br>"; }
if (isset($_POST['Login']) && $usere== " ")
{
echo "<br><font color=red><b>Please enter a username</b><br></font>";
}
?>
Ratings
Comments
Related Tutorials
- 01. Emulating Xbox 360 on PC for Running COD4 With Mods(3,666)
- 02. How to: Matrix Numbers | Batch File(1,956)
- 03. How to Password Protect Files on Windows(868)
- 04. How to play Socom 2/3/ and Combined Assault on PC(6,884)
- 05. Modern Warfare 2 Vac Ban Bypass Tutorial(6,253)
- 06. How to embed an image on TheTechGame(3,141)
- 07. [PC] NIOH 2 OTHER USER SAVE RESIGN(13,094)
- 08. Host bot lobbies! Full Tutorial!(11,636)
- 09. Unban yourself [Plutonium BO2](14,317)
- 10. Fall Guys - How to Change Your Name Color on Fall Guys(8,411)
- 11. Best Crosshair Settings for Valorant(6,552)
- 12. Othercide The Surgeon Boss Guide(2,570)
- 13. Othercide Remembrances Unlock Guide(4,518)
- 14. Othercide Beginners Tips and Tricks(2,737)
- 15. How to Fix Grounded Crashes, Loading Time, Low FPS and Other(4,886)
"Simple PHP login Script" :: Login/Create an Account :: 0 comments