What is the code for getting the logged in user?
Posted: Fri Jul 22, 2022 9:23 pm
Tried looking but can't seem to find anything.
I'm looking for some php to grab the current user logged in .
I know I can use a session variable that appears to work as far as I can see.
Just wondered if there was a preferred Bludit way
Many thanks
I'm looking for some php to grab the current user logged in .
I know I can use a session variable that appears to work as far as I can see.
Code: Select all
$_SESSION["s_username"]
Many thanks