Introduction: This is a detailed page for configuring Apache + PHP + MySql in Mac OS X. It introduces the related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: //
To make the frames sent by a network adapter receive and process the frames correctly, IEEE stipulates that each network adapter has a unique ethernet address-MAC address (which is called MAC address by IEEE ).
Because the addressing details are
Get Server Mac
Copy CodeThe code is as follows:
/**
Obtain the MAC address source of the network card; currently supports Win/linux system
Get the physical (MAC) address of the machine card
**/
Class getmacaddr{
var $result = array (); Returns an
MAC address is the network card address is generally unable to get to the user's MAC address, because the security restrictions on the browser so it is almost impossible to obtain, the following two pieces of code for everyone to play.
Example 1
PHP
Php obtains the client mac address program code. The mac address is the Nic address. Generally, the user's mac address cannot be obtained, because the security limits the browser, so it is almost impossible to obtain the mac address, the following
This section shares the PHP code, the main features:
Gets the physical (MAC) address of the machine card.
Code:
Copy CodeThe code is as follows:
/*** Get the physical (MAC) address of the machine card* Currently supports Win/linux system**/Class
Php code for obtaining unique computer ID information (cpu, network card, MAC address)
The php code obtains the unique identifier information of a computer, including cpu information, network card information, and MAC address information.
Get Server Mac
Copy Code code as follows:
/**
Obtain the MAC address origin of the NIC; currently supports Win/linux system
Get the physical (MAC) address of the machine's network card
**/
Class getmacaddr{
var $result = array ();
Make an application that automatically logs on to Windows Server Based on the MAC address in the Intranet. The function is as follows:
Make an application that automatically logs on to Windows 2003 based on the MAC address in the Intranet. The
Obtain the MAC address source of the network card; the physical (MAC) address of the Win/linux system is currently supported for the machine cardCopy CodeThe code is as follows:/**Obtain the MAC address source of the network card; currently supports
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.