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. ??? Link to comment https://forums.phpfreaks.com/topic/35512-returning-to-specific-page/ 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? Link to comment https://forums.phpfreaks.com/topic/35512-returning-to-specific-page/#findComment-168064 Share on other sites More sharing options...
essjay_d12 Posted January 24, 2007 Share Posted January 24, 2007 try Header ("Location: ../MainMenu.shtml"); Link to comment https://forums.phpfreaks.com/topic/35512-returning-to-specific-page/#findComment-168065 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. Link to comment https://forums.phpfreaks.com/topic/35512-returning-to-specific-page/#findComment-168072 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.