I am using the same file in both my intranet and internet(public) server
echo "<li style='text-align: right; padding:5px;'>Logged In User: $name </li>";?>
<form action="" method="POST">
<button style="background:red;" name="option" value="HOME" >Notice </button>
<button style="background:brown;" name="option" value="HOME" >Sales Enquiry</button>
<button style="background:orange;" name="option" value="COMP">Complaints</button>
<button style="background:green;" name="option" value="ATTE">Attendence</button>
<button style="background:blue; " name="option" value="LOGOUT">Logout</button>
</form>
</header>
<?php
$option=$_REQUEST['option'];
if($option==='HOME') {header("Location:notice.php"); }
if($option==='COMP') {header("Location:complaint.php"); }
if($option==='ATTE') {header("Location:attendence.php"); }
if($option==='LOGOUT') {header("Location:logout.php");}
?>
The same code was working in both servers but since yesterday it continues to work on my intranet server but does not work on my public server.
You can see it at https://www.fdms.in/fdms/head.php
In fact no header link works on any of my files!