Okay so i have a PHP page that when you log on to my game it takes you to that page but when you are on the page it loads for around a second (and shows every image and link) then redirects to my hosts default 404 landing page.
Any help?
Other details: Whilst it is loading for the said second if i click on another link within the game it will take me to the link and then not redirect but it is still connected to the same PHP file.
E.G
www.game.com/logged_in.php < Redirects > I click on my profile on my game and it stays fine but it has the same url >
www.game.com/logged_in.php < Hope this helps <
How can i stop a PHP file from redirecting?
Page 1 of 12 Replies - 241 Views - Last Post: 23 September 2012 - 05:29 AM
Replies To: How can i stop a PHP file from redirecting?
#2
Re: How can i stop a PHP file from redirecting?
Posted 23 September 2012 - 05:23 AM
Don't understand the question. Show the code, in code tags, and it might make more sense.
#3
Re: How can i stop a PHP file from redirecting?
Posted 23 September 2012 - 05:29 AM
<?
include "config.php";
include "func.ban.php";
checkban($_SERVER['REMOTE_ADDR']);
?>
<?
session_start();
include_once "includes/db_connect.php";
include_once "includes/functions.php";
logincheck();
?>
<html>
<head>
<link rel="shortcut icon" href="favicon.ico.png">
<title>Untitled Project</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel=stylesheet href=includes/in.css type=text/css>
</head>
<frameset rows="*" cols="168,*" frameborder="no" border="0" framespacing="0">
<frame src="menu.php" name="leftFrame" scrolling="auto" noresize="noresize" id="leftFrame" title="leftFrame">
<? if($info->bann == "0"){ ?>
<frameset rows="68,*" cols="*" framespacing="0" frameborder="no" border="0">
<frame src="banner.php" name="banner" scrolling="No" noresize="noresize" id="topFrame" title="topFrame">
<? } ?>
<frameset rows="24,*" cols="*" framespacing="0" frameborder="NO" border="0">
<frame src="mini.php" name="topFrame" scrolling="NO" noresize >
<frameset rows="*" cols="*<? if($info->box == "0"){ ?>,180<? } ?>" frameborder="no" border="0" framespacing="0">
<frame src="news.php" name="middle" id="mainFrame" title="mainFrame">
<? if($info->box == "0"){ ?>
<frame src="/chat/index.php" name="shoutbox" scrolling="auto" noresize="noresize" id="shoutbox" title="shoutbox">
<? } ?>
</frameset>
</frameset>
</frameset>
</frameset>
<noframes><body></frameset>
</body></noframes>
</html>
That is the PHP file the error is based around
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|