I have the following main page:
PHP Code:
<? if(file_get_contents("lang.tmp")=="") { header("Location: splash.php"); exit(); } ?> <html> <head> <meta name="author" content="Glyndwr D. Bartlett"> <title>Kortge Cutlers</title> <frameset rows="140,*" marginwidth="0" marginheight="0" frameborder="0" border="0" borderwidth="0"> <frame name="head" src="head.php" scrolling=no> <frameset cols="225,*,225" marginwidth="0" marginheight="0" frameborder="0" border="0" borderwidth="0"> <frame name="navi" src="navi.php" scrolling=auto> <frame name="content" src="start.php" marginwidth=20> <frame name="login" src="login.php" marginwidth=20 scrolling=no> </frameset> </frameset> </head> <body bgcolor=#ffffff> </body> </html>
"login.php" displyes the login screen on right of the screen. This then calls "checkuserid.php". If Reset is selected in "login.php" then "checkuserid.php" performs "header("Location: index.php)" to return the user to the main page.
The problem is that the "index.php" page is displayed the the frame on the right of the "login.php" page. I want to return the user to the original page so they can try to login again or select other functions from the index.php page.
What is the best solution?
Regards,
Glyn
|