Welcome Guest, Not a member yet? Register   Sign In
Unique ID problem

Query :
3 different users accessed internet With Same IP Address.
In PHP I given One href Link when ever User click that Link. I get the IP Address of the User .. Now How to find/Get the User Any Unique Id.
whenever Click the Href Link. i am geting same ip address(because All 3 Users Connected With same IP ). I want Which User Click That Link .. That user Information I want ...please Give any refernce links or Idea ..
Here : Without Using Cookies

There is no way to identify a site visitor without using sessions/cookies. As you are aware, IP address can be used by more than one person. Nothing else about the HTTP request, user agent, etc. would allow you to identify the site visitor. That's why all authentication systems use sessions/cookies.

(This post was last modified: 06-07-2016, 12:57 PM by cartalot.)

create a long randomized 'token' . pass it in a hidden form field. or add it to your links. and yes ip address is basically meaningless - it can be easily spoofed, and for some users is 'reset' every few minutes by their network provider.

I think you can use Session ID. or try to read this https://laracasts.com/discuss/channels/g...id-problem.
Hope you will get this.

(This post was last modified: 06-07-2016, 07:29 PM by Aloghli.)

PHP Code:
function id($suffx ''$length 10) {
// return uniqid($suffx);
$characters '0123456789';
$randomString '';
        for (
$i 0$i $length$i++) {
$randomString .= $charactersrand(0strlen($characters) - 1) ];
$suffx $randomString;

PHP Code:

Theme © iAndrew 2016 - Forum software by © MyBB