Hi all,
Can anyone tell me of a way to complete this process?
I currently have a page called genre.php
On this page i have a link that opens a javascript popup window called member_rating.php (this page has a session_start() associated with it so that only members can rate topics).
If the user is not a member, or for that matter, not logged in, the user is redirected to a page called login.php
Eg:
This all works fine except that the login.php page loads into the javascript popup window as well. I don't want it to load into this.
So how can i get the login.php page to load into the existing page (_self), and not the javascript popup window if they haven't logged in or are not a member?
Any ideas greatly appreciated.
camcim
Can anyone tell me of a way to complete this process?
I currently have a page called genre.php
On this page i have a link that opens a javascript popup window called member_rating.php (this page has a session_start() associated with it so that only members can rate topics).
If the user is not a member, or for that matter, not logged in, the user is redirected to a page called login.php
Eg:
Code:
header("Location: login.php?id=member_rating&movie_id=$movie_id");
So how can i get the login.php page to load into the existing page (_self), and not the javascript popup window if they haven't logged in or are not a member?
Any ideas greatly appreciated.
camcim