straygrey Posted January 24, 2007 Share Posted January 24, 2007 I have a series of php & html that the user needs to go through to achieve a task and the last script in the scenario is a php.From that last php I need to return to the 1st in sequence and I am not getting there using the Header (Location: MainMenu.shtml) construct. Is there a better way?The scenario might look like MainMenu.shtml->u.shtml->ud.shtml->uu.php and on successful completion of uu.php return to MainMenu.shtml. ??? Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 24, 2007 Share Posted January 24, 2007 Why doesn't it work? Do you get an error? Quote Link to comment Share on other sites More sharing options...
essjay_d12 Posted January 24, 2007 Share Posted January 24, 2007 try Header ("Location: ../MainMenu.shtml"); Quote Link to comment Share on other sites More sharing options...
straygrey Posted January 24, 2007 Author Share Posted January 24, 2007 It does not give an error message. It waits for the :-<META HTTP-EQUIV="Refresh" CONTENT="120;URL=Administration.php">and times out and I want to get there immediately not after 120 seconds but I cannot alter the META line as I want the 120 second timeout to happen if the users goes to tea in the middle of. The Header ("Location: ../MainMenu.shtml"); makes no difference. It still times out. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.