jrm Posted October 2, 2008 Share Posted October 2, 2008 I use frames in my intranet site. Is there a way to send a header (Location: ....) to a new window? This is for my authentication scripts and to change between unrestricted and restricted locations. Link to comment https://forums.phpfreaks.com/topic/126785-solved-header-location-somepagephp-target_new/ Share on other sites More sharing options...
ngreenwood6 Posted October 2, 2008 Share Posted October 2, 2008 Can you elaborate more on what you are trying to accomplish? I am not quite sure I understand what you are trying to do. Link to comment https://forums.phpfreaks.com/topic/126785-solved-header-location-somepagephp-target_new/#findComment-655791 Share on other sites More sharing options...
jrm Posted October 2, 2008 Author Share Posted October 2, 2008 On my intranet site I use frames to display a multitude of data from my databases depending upon which subject is requested, ie Employee information and status, Company info and status, .... this list goes on...... I am trying to get away from MS Access for my front end and go completely webbased, and I want the employees to log on to the intranet to be able to write/edit/view the information. So, in my login script, when verified to login, I want to be able to redirect to the "member" page in a new window. But, after looking into some other options, which I should have done before, I think that I will redirect the employees to a SSL page in a new window. Link to comment https://forums.phpfreaks.com/topic/126785-solved-header-location-somepagephp-target_new/#findComment-655832 Share on other sites More sharing options...
ngreenwood6 Posted October 2, 2008 Share Posted October 2, 2008 I am still not sure exactly what you are trying to do but I think that this is what you are talking about. header("Location: logged_in.php"); You would put that in the script if they passed the criteria for login. For example if the user has the correct login information take them to logged_in.php. Link to comment https://forums.phpfreaks.com/topic/126785-solved-header-location-somepagephp-target_new/#findComment-655850 Share on other sites More sharing options...
revraz Posted October 2, 2008 Share Posted October 2, 2008 You can use a absolute path instead of relative, so direct it to http://yoursite.com/page.php and it won't use https/ssl. Link to comment https://forums.phpfreaks.com/topic/126785-solved-header-location-somepagephp-target_new/#findComment-655960 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.