Jump to content

[SOLVED] ??? header (Location : somepage.php target=_new ???


jrm

Recommended Posts

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 post
Share on other sites

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 post
Share on other sites

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 post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.