[Phpmyadmin-devel] current user
Zeeshan Mughal
zeeshanmughal at ieee.org
Wed Jul 15 07:45:36 CEST 2009
Hi, I am using the following code to extract currently logged user name from
PMA_DBI_fetch_value('SELECT USER();')
// $userAndHost = PMA_DBI_fetch_value('SELECT USER();');
// $userAndHost = str_split($userAndHost);
// while ($i=0 < count($userAndHost)-1) {
// $username += $userAndHost[$i];
// $i++;
// if ($userAndHost[$i] == "@") {
// break;
// }
It takes a lot of time to load up the web page mainly due to the code
above. Is there any alternative to this?
Thanks!
P.S. follow my live progress update streams at zixan.info. I find it is
much more effective way to communicate more frequently.
--------------------------------------------------
Best regards,
Zeeshan Mughal
Email: zeeshanmughal at ieee.org
Web: http://www.zixan.info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20090715/090ceab6/attachment.html>
More information about the Developers
mailing list