Jump to content

Recommended Posts

I would like to figure out a way of checking whether a specific computer is back from a previous visit. I don't want to store cookies because a user can clear that information out. I thought about obtaining the clients mac address, but that isn't something the browser passes to the website (at least from what I can tell) so that isn't an option.

Basically is there a way, in PHP, that I can uniquely identify any client that visists my web page?

Thanks in advance.
Link to comment
https://forums.phpfreaks.com/topic/12954-unique-computer-identification/
Share on other sites

All right. How do websites get my fully qualified domain name? Can that be done through PHP?

An example of a fully qualified domain name might be shiela.red.shapes.com where shiela is the computer name, red is the sub domain and shapes is the domain name.
I do cisco networking everyday and the only option is an ip nothink else sorry.


A mac address throw the http is inpossable unless you provide the user with a dedecated softwere to
dynamickly send the mac to you if you wanted this option your have to look at java or c++.

but a mac address can also be changed ok.
[!--quoteo(post=388217:date=Jun 26 2006, 09:26 PM:name=Goose)--][div class=\'quotetop\']QUOTE(Goose @ Jun 26 2006, 09:26 PM) [snapback]388217[/snapback][/div][div class=\'quotemain\'][!--quotec--]
I know for a fact that sites grab my fully qualified domain without me installing anything.
[/quote]

A fully qualified domain name is on the sever that provides
the domain name service throw there dns servers.





I think i got the ansaw not sure theo.

What about storeing the session id in the database then lock that id to that user i

think if the user uses another computer the id session will chage therefore your know there

on another computer.



I dont know if this could work. But i think somthink like this well enable you to cheek if the user
is the user logged in via that session id on there computer,
and if the user logs in via a diffrent computer iam sure that a diffrent session id will be made therefore
your know that the user is on a diffrent computer.

Your have to look up session in database ok.

[code]

<?php

// Initialize the session

session_start(  );

// a page that processes a login

  $orderUrl = "/login.php?PHPSESSID=" . session_id(  );
?>

<a href="<?=$login ?>">login</a>


The sesion that has been made to login the user insert into database called session_id ect ect .......

PHPSESSID=be20081806199800da22e24081964000



<?php
  // Initialize the session
  session_start(  );
?>

<a href="/login.php?<?=SID?>">login</a>

[/code]
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.