Advisor: link to MySQL 5.5 documentation, it's better and more complete
[phpmyadmin/ammaryasirr.git] / scripts / signon-script.php
blob201d21762fecc5a79c92b39dec5863c7e553f763
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Single signon for phpMyAdmin
6 * This is just example how to use script based single signon with
7 * phpMyAdmin, it is not intended to be perfect code and look, only
8 * shows how you can integrate this functionality in your application.
10 * @package phpMyAdmin
11 * @subpackage Example
15 /**
16 * This function returns username and password.
18 * It can optionally use configured username as parameter.
20 * @param string $user
21 * @return array
23 function get_login_credentials($user)
25 return array('root', '');