cfgcjm Posted January 17, 2008 Share Posted January 17, 2008 I have a login script in PHP which is called as the action from a form as part of an HTML page. Currently i have the user redirected to a secure URL on successful login. What i need to happen is when the user hits submit on the HTML Page and the user successfully logs in it launches a new window with the dimensions of 600x350 and directs the user to the Secure page. I'm assuming that once the new window is opened the original page will be on a black white page (my form action page), I would also like the original HTML page to revert back to it's original state. If anyone knows how to do either of these it would be of great help Quote Link to comment https://forums.phpfreaks.com/topic/86513-lauching-new-window-from-login/ Share on other sites More sharing options...
mr_mind Posted January 17, 2008 Share Posted January 17, 2008 Your looking for javascript, and what you are doing is going to be blocked by most browsers Quote Link to comment https://forums.phpfreaks.com/topic/86513-lauching-new-window-from-login/#findComment-442046 Share on other sites More sharing options...
cfgcjm Posted January 17, 2008 Author Share Posted January 17, 2008 but you always have the option to allow Quote Link to comment https://forums.phpfreaks.com/topic/86513-lauching-new-window-from-login/#findComment-442050 Share on other sites More sharing options...
mr_mind Posted January 17, 2008 Share Posted January 17, 2008 Yes, but general users dont go that in depth into their browsers Quote Link to comment https://forums.phpfreaks.com/topic/86513-lauching-new-window-from-login/#findComment-442053 Share on other sites More sharing options...
tinker Posted January 17, 2008 Share Posted January 17, 2008 the login link could open in a new window using 'taget' and you can handle the inner size with either a table or div. No the window isn't sized and you'll have a border, but at least it's guaranteed... P.S. Most ppl do block any sort of popups cos there associated with annoying' sites Quote Link to comment https://forums.phpfreaks.com/topic/86513-lauching-new-window-from-login/#findComment-442056 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.