I am running a php project on IIS server in which i included the
isset($_GET['url'])
method but its not redirecting the right location which caused only same result 404 page not found!
wherever the same code is working fine on apache server.
How do i solve this issue.
What I have tried:
- include('../connect.php');
- if(isset($_GET['url']) && ($_GET['url']!=''))
- {
- $url=trim($_GET['url']);
- }
- ?>
- "zxx">
Account | Ebasq - "viewport" content="width=device-width, initial-scale=1">
- "Content-Type" content="text/html; charset=utf-8" />
- "keywords" content="" />
- include('../files/include/files.php'); ?>
- include('../files/include/top-line.php'); ?>
- include('header.php'); ?>
- if($url=="password")
- {
- ?>
- include('change-password.php'); } ?>
- if($url=="order-history")
- {
- ?>
- include('order-history.php'); }?>
- if($url=="")
- {
- ?>
- include('data.php'); ?>
- }
- ?>
- include('../files/include/footer-account.php'); ?>
- include('../files/include/footer-files.php'); ?>
Replies
Know the answer? Post it — somebody with the same question will find it here.