<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Hello!</title>
</head>
<body>
<pre>
<?php
include 'CIman.php';
$obj=new cinspector;
$data=$obj->ci('9416026621');
?>
<h1>Parsing a cuban identification number</h1>
<h3>Example: 9416026621</h3>
<?php echo 'Date Of Birth: '.$data['year'].'/'.$data['month'].'/'.$data['day']; ?>
<?php echo 'Age: '.$data['age']; ?>
<?php echo 'Sex: '.$data['sex']; ?>
</body>
</html>
|