PHP Classes

mac address: Need to get mac address from login machine

Recommend this page to a friend!
  All requests RSS feed  >  mac address  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

mac address

Edit

Picture of Alankar Jadhav by Alankar Jadhav - 9 years ago (2014-11-18)

Need to get mac address from login machine

This request is clear and relevant.
This request is not clear or is not relevant.

+3

We have a requirement to implement user authentication binding the user ID with mac address of his machine.

  • 2 Clarification requests
  • 2. Picture of Manuel Lemos by Manuel Lemos - 9 years ago (2014-11-26) Reply

    It is possible to get the MAC address of a machine as long as it is in the same network of the server PHP is running.

    What kind of OS is on the server PHP is running? Is it Windows or Linux?

    • 1. Picture of Radovan Janjic by Radovan Janjic - 9 years ago (2014-11-18) Reply

      Client MAC address can be only available if they are on teh same ethernet segment.In such case on linux you can do echo system('arp -n xxx.xxx.xxx.xxx') or echo system('arp -a xxx.xxx.xxx.xxx') on windows.

      Ask clarification

      1 Recommendation

      Mac Address: Retrieve the Mac address of a network card

      This recommendation solves the problem.
      This recommendation does not solve the problem.

      0

      Picture of Manuel Lemos by Manuel Lemos Reputation 23625 - 9 years ago (2014-11-30) Comment

      This class should work for you regardless of the operating system you are running on your server, as it supports either Linux, FreeBSD and Windows servers, as long as the user machine is on the same local network of course.


      Recommend package
      : 
      :