TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Gaurav Saini
NA
150
697
I am unable to redirect PHP page on IIS server how do I do
Nov 23 2018 3:13 AM
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:
<?php
include
(
'../connect.php'
);
if
(isset(
$_GET
[
'url'
]) && (
$_GET
[
'url'
]!=
''
))
{
$url
=trim(
$_GET
[
'url'
]);
}
?>
<!DOCTYPE html>
<html lang=
"zxx"
>
<head>
<title>Account | Ebasq</title>
<meta name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<meta name=
"keywords"
content=
""
/>
<style>
.checkout-right h4
{ color: #000 !important; font-size:17px !important; margin-bottom: 30px !important; } </style>
<?php
include
(
'../files/include/files.php'
); ?>
<body>
<?php
include
(
'../files/include/top-line.php'
); ?>
<?php
include
(
'header.php'
); ?>
<?php
if
(
$url
==
"password"
)
{
?>
<?php
include
(
'change-password.php'
); } ?>
<?php
if
(
$url
==
"order-history"
)
{
?>
<?php
include
(
'order-history.php'
); }?>
<?php
if
(
$url
==
""
)
{
?>
<?php
include
(
'data.php'
); ?>
<?php
}
?>
<?php
include
(
'../files/include/footer-account.php'
); ?>
<?php
include
(
'../files/include/footer-files.php'
); ?>
</body>
</html>
Reply
Answers (
0
)
Calculation code for CGST,GST & IGST
select a word from a string vb.net