|
Server : LiteSpeed System : Linux terra.hostitbro.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : outerorb ( 1091) PHP Version : 8.1.34 Disable Function : mail Directory : /home2/outerorb/dev.outerorbittech.com/erp/ | |
|
Path: /home2/outerorb/dev.outerorbittech.com/erp/check.php
Size: 600 B
Permissions: 0644
<?php
if(isset($_POST['s']))
{
$n=trim($_POST['n']);
$p=trim($_POST['p']);
if($n=='rishi' && $p=='rishi@123')
{
session_start();
$_SESSION['a']=$n;
$_SESSION['aid']=session_id();
header("location:admin/index.php");
}
else
{
session_start();
$_SESSION['wrong']="Invalid credentials";
echo '<script> alert("Invalid Credentials");
window.location="index.php"; </script>';
//header("location:index.php");
}
}
else
{
//echo '<script> alert("Invalid Credentials");
//window.location="index.php"; </script>';
// header("location:index.php");
}
?>