[GLLUG] Grabbing username in php

Reza Beha reza_beha@yahoo.com
Mon, 18 Mar 2002 15:55:03 -0800 (PST)


Does this help?

http://www.digiways.com/articles/php/sessauth/


--- Mike Szumlinski <szumlins@msu.edu> wrote:
> I have a realm on my site that only authorized users
> are able to access.
> Through that page they have the ability to update a
> MySQL database through a
> simple little front end.  For my own records, I want
> to know who is exactly
> updating the info, so I created a user column in the
> table they are
> modifying.  My question is this: How can I
> automatically grab their login
> username as a hidden variable so that when they post
> it tags who made the
> post?  Is there a php global that can grab this
> info?
> 
> -Mike


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/