Re: Who's logged in from the browser?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>    When a user logs in via PHP - browser, how can you tell who is logged
> in to MySQL from that path. I've learned about how to check direct
> logins into MySQL using mysqladmin status function, but wanting to
> learn how to perform the other. Any help would be greatly appreciated.

Huh?

Your PHP script logs into MySQL, right? Or do you use the credentials
provided by the user to also log into MySQL? Either way, you can SELECT
USER() in MySQL to see who's currently logged in.

---John Holmes...


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux