Forum Moderators: coopster

Message Too Old, No Replies

XP Username Variable

A variable that searches what the users username is and the displays it.

         

supersword

10:05 am on Sep 11, 2005 (gmt 0)

10+ Year Member



Hello again,

Im back again with alot more experience than I had last time I posted.Well atleast I hope so.

I am searching for a variable, that would allow me to see what the guests username is (If they are using XP) and then definae it as a variable.

So Instead of me calling them guests, I can call them by their username from XP.

Thanks,
Sam

mcibor

3:48 pm on Sep 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As I know, no browser sends any information about the user, especially the user logged in. It would be a security risk and moreover is forbidden by law (to send personal data without user approval)

What you can do however is (as it's on this forum) to log users in (then you can remember the data in the cookie)
For more info on how to do this look into library [webmasterworld.com]

Hope this helps!

Michal Cibor

ergophobe

7:33 pm on Sep 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Not to mention that on my computer I have four accounts and normally sign in as "normal" so you'd be saying "Hi normal", which couldn't be a more inaccurate description of me. So really, it's just as well this information is unavailable ;-)

As a general principal, remember that all that you can gather from the user's computer is the information that the browser sends in its request headers. If you don't see it in phpinfo() output, it's not available via PHP.