return to tranceaddict TranceAddict Forums Archive > Main Forums > Chill Out Room

Pages: [1] 2 
PHP Question
View this Thread in Original format
UglyDave
i've set up a file called track.php

it keeps log of the IP address, time, country & city of every user to my site.

i'm just wondering if there's any function available to get the username of the person on the client machine?

any help much appreciated!!
David
k.k.d.
I honnestly don't know, but I doubt such function exists.. Different OS store the machine's or user's names in different ways, and I doubt there's an universal command that fetches those informations.. You can try searching google or php.net, you never know.. ;(
BigDil
No.
whiskers
dude, if that was possible, that would a rather massive security hole


you can try portscanning, but i doubt that'll fetch you the username, unless it's very unprotected.
UglyDave
quote:
Originally posted by whiskers
dude, if that was possible, that would a rather massive security hole


you can try portscanning, but i doubt that'll fetch you the username, unless it's very unprotected.


would it really? like.. think about it.. it's just a username.. like, ur email address kinda displays ur username pretty obviously.. and it's generally not too hard to figure out the mail server from ur email address either!!!
BigDil
quote:
Originally posted by UglyDave
would it really? like.. think about it.. it's just a username.. like, ur email address kinda displays ur username pretty obviously.. and it's generally not too hard to figure out the mail server from ur email address either!!!


you can't get email addresses either.
Munken
quote:
Originally posted by UglyDave
it keeps log of the IP address, time, country & city of every user to my site.
David


How do you track city and country?
BigDil
quote:
Originally posted by Munken
How do you track city and country?


You can tell from the visitor's IP, if he doesn't use a proxy.
Munken
oh, thought there was some buildin function in php for it.
bilange
PHP... trance... PHP... trance... PHP...


No, I can't see the link between Trance and PHP. Sorry.


:p

BigDil
This is the chill out room, mate, have you noticed?
Romain
maybe there is a suitable VBScript function...

VBScript can unfortunately be very dangerous when used in a html page.
CLICK TO RETURN TO TOP OF PAGE
Pages: [1] 2 
Privacy Statement