I want to create a popup window that ask for User Name and Password in PHP cod. In addition, once the user enter the user name and password to the popup window, how do I capture that information and store it to a cookie?
Any help is grateful!
ljCharlie
How to popup a window for user name and password in PHP?
Moderator: General Moderators
Pop-up widows are a Javascript issue.
Take a look at this in the manual - http://se.php.net/manual/en/function.setcookie.php
Mark
Take a look at this in the manual - http://se.php.net/manual/en/function.setcookie.php
Mark
-
magicrobotmonkey
- Forum Regular
- Posts: 888
- Joined: Sun Mar 21, 2004 1:09 pm
- Location: Cambridge, MA
-
anotherJean
- Forum Newbie
- Posts: 22
- Joined: Tue Mar 30, 2004 3:59 pm
of course PHP can store info in a cookie. this is not related to the form of the window.ljCharlie wrote:I see. So PHP can create popup window then? If that is true, can PHP capture the information from a javascript popup window and store in a cookie? Or is this also done in javascript?
Thank you,
ljCharlie