Q695 Posted September 11, 2014 Share Posted September 11, 2014 Does anyone know what the source code for the PHP MyAdmin login prompt (the pop out box) looks like? Link to comment https://forums.phpfreaks.com/topic/290988-how-does-the-php-myadmin-login-prompt-work/ Share on other sites More sharing options...
gristoi Posted September 11, 2014 Share Posted September 11, 2014 phpmyadmin is open source and available for download, just grab and unzip it. http://www.phpmyadmin.net/home_page/downloads.php Be warned, it's a mess in there Link to comment https://forums.phpfreaks.com/topic/290988-how-does-the-php-myadmin-login-prompt-work/#findComment-1490724 Share on other sites More sharing options...
Q695 Posted September 11, 2014 Author Share Posted September 11, 2014 I mean when the cookie expires it asks you to relogin in an in page html alert. How are those created? Link to comment https://forums.phpfreaks.com/topic/290988-how-does-the-php-myadmin-login-prompt-work/#findComment-1490792 Share on other sites More sharing options...
kicken Posted September 11, 2014 Share Posted September 11, 2014 I haven't used phpMyAdmin in a long time, so I haven't seen what you're talking about however I would guess they are just using a JS based dialog, such as JQuery UI's Dialog. The basic process probably goes something like: - phpMyAdmin sends request to server via Ajax - Server responds with authentication error - phpMyAdmin opens login dialog - phpMyAdmin sends login details - When successful authentication occurs, phpMyAdmin repeats original request. Link to comment https://forums.phpfreaks.com/topic/290988-how-does-the-php-myadmin-login-prompt-work/#findComment-1490793 Share on other sites More sharing options...
Q695 Posted September 11, 2014 Author Share Posted September 11, 2014 The answer is better than the Nuclear answer, thanks. I haven't used phpMyAdmin in a long time, so I haven't seen what you're talking about however I would guess they are just using a JS based dialog, such as JQuery UI's Dialog. Link to comment https://forums.phpfreaks.com/topic/290988-how-does-the-php-myadmin-login-prompt-work/#findComment-1490795 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.