File manager - Edit - /home/cipherteam/htdocs/cipherteam.in/APPS/demo/forgot.php
Back
<html> <head> Forgot Password <?php if(isset($_GET["email"])) { $email = $_GET["email"]; $otp = rand(1000,9999); session_start(); $_SESSION["otp"] = $otp; $msg = "Your OTP IS ".$otp; $msg = wordwrap($msg,70); // send email mail($email,"YOUR ONE TIME PASSWORD",$msg); header("Location: otpverify.php"); } ?> </head> <body> <form> Enter Email: <input type="email" name="email" required> <br><br> <input type="submit" value="Send Otp"> </form> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.2.9 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings