plznty Posted February 1, 2010 Share Posted February 1, 2010 Some websites have there webpage example - index.php Then they have a link example - popup.php Then when they click the popup link a popup comes up, then you login under your details and then the popup.php closes and targets the normal web page. How is this possible. Ive tried to say it as simple as i can Quote Link to comment Share on other sites More sharing options...
jammesz Posted February 2, 2010 Share Posted February 2, 2010 Why not combine the two php pages by having the html popup in index.php and getting index.php to handle the login? Quote Link to comment Share on other sites More sharing options...
aeroswat Posted February 2, 2010 Share Posted February 2, 2010 I'm guessing that the login is stored in a PHP session. If this is the case then all you have to do is set the session in the pop-up page and refresh the parent page via this code i believe opener.Location.Reload(true); Quote Link to comment Share on other sites More sharing options...
jammesz Posted February 3, 2010 Share Posted February 3, 2010 if you still cant get it to work you should post your code here 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.