The first example of this article for everyone to share the PHP according to the identity card number, automatically obtain the corresponding constellation function, for your reference, the specific content is as follows
Second instance: Use PHP to extract birthdays from your ID, including 15-and 18-bit IDs:
function Getidcardinfo ($IDCard, $format =1) {$result [' Error ']=0;//0: Unknown error, 1: Ide
Use PHP to get a series of clues from your ID number (constellation, Zodiac, birthday, etc.), PHP ID number
The first example of this article for everyone to share the PHP according to the identity card number, automatically obta
Use php to get a series of clues (constellation, Zodiac, birthday, etc.) from the ID card number, php ID card number
The first example of this article is to share with you that PHP automatically obtains the corresponding constellation functions based on the
/*
JS itself does not have the trim () function to cancel the blank characters in the string
Custom function: replace blank characters with regular expressions
*/
Function trim (s) {return S. Replace (/^ \ s + | \ s + $/g ,"");};
// Verify the ID card number and obtain the Date of birthFunction getbirthdatbyidno (iidno ){VaR tmpstr = "";VaR iddate = "";VaR tmpint = 0;VaR strreturn = "";
Iidno = trim (
"SerialNumber",Motherboard serial Number"SELECT * from Win32_baseboard where (SerialNumber are not NULL)",L "SerialNumber",Processor ID"SELECT * from Win32_Processor where (Processorid are not NULL)",L "Processorid",BIOS Serial Number"SELECT * from Win32_BIOS where (SerialNumber are not NULL)",L "SerialNumber",Motherboard model"SELECT * from Win32_baseboard wher
Original: C#/vb.net get computer properties (hard drive ID, hard disk capacity, CPU serial number, MAC address, System type)In the development process, it is often necessary to obtain some properties of the computer, such as obtaining the hard disk ID/CPU serial number/mac a
Insert | resolve | data | How does the database get the ID number of the record you just inserted into the database?
1.SQL Server
For SQL Server 2000来, it provides two new functions (ident_current,scope_identity) and improves the @ @IDENTITY. When you insert a new record, you can call the function:
PRINT ident_current (' table ') ' This will
There are a number of scenarios and requirements that you need to use a unique identifier for your mobile device.In Android, there are several ways to get such an ID.1. The IMEI: only valid for Android phones:
12
(telephonymanager)getsystemservice(telephony_servicetelephonymgr. Getdeviceid
With this approach, you need to
in the previous article, there was an article based on Arm-contexa9-linux Drive development: How to get the unique ID number on the boardin that article, you can refer to it in detail. At that time I used a simple character device driver framework, the final ID number throu
The ID card can identify a person's information. The following describes how to use JavaScript to obtain the age and gender ID card of the person using the ID card number to identify a person's information, the following describes how to use JavaScript to obtain the age and gender of the client through the
ID check and get birthday code
Copy Code code as follows:
Function Showbirthday (val)
{
var Birthdayvalue;
if (15==val.length)
{///15-digit ID number
Birthdayvalue = Val.charat (6) +val.charat (7);
if (parseint (birthdayvalue) {
Birthdayvalue = ' +birthdayvalue ';
}
Else
{
Birthdayvalue = ' +bir
Copy Code code as follows:
@ Get the sub-column ID number
Private Function Soncategoryids ($categoryID)
{
@ Initialize column array
$array [] = $categoryID;
Todo
{
$ids = ';
$temp = $this->mysql->select (' Select ' id ' pcb_article_category ' WHERE ' ParentID ' in ('. $categoryID. ')');
foreach ($temp
First, MySQL get the current field maximum ID
SQL statement:
Select Max (id) from yourtable;
Second, obtain the MySQL table self-increase (auto_increment) value
Auto_incrementis a property in a table that can be obtained by taking the state of a table to the self-increment
SQL statement:
Show table status like "table name";
PHP Code i
First introduce the service and then call the
This paper is reproduced from http://blog.sina.com.cn/s/blog_7eeb43210101hf7f.html
public class Computer {public static string CpuID;//1.cpu serial number public static string MacAddress;//2. Mac serial number public static string DiskID; 3. Hard disk ID public static string ipaddress; 4.ip address public static st
Get the person's age and gender by ID number:ID card can identify a person's information, the following describes how to use JS through the ID card number to obtain the age and gender of the parties.The code example is as follows:DOCTYPE HTML>HTML>Head>MetaCharSet= "Utf-8">Metaname= "Author"content= "http://www.softwhy
First, the service is introduced and then calledThis article is reproduced from http://blog.sina.com.cn/s/blog_7eeb43210101hf7f.html Public classComputer { Public Static stringCpuID;//1.cpu Serial Number Public Static stringMacAddress;//2.mac Serial Number Public Static stringDiskID;//3. Hard Drive ID Public Static stringIpAddress;//4.ip
Here we tell about the JQ according to the ID number of the birth date, age, gender, the need for students to refer to.
The code is as follows
Copy Code
Get input ID number var Uusercard = $ ("#UUserCard"). Val ();
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.