- explode: documentation ( source)
- checkdate: documentation ( source)
<?php
$test= 2;
$asd = "http://gogle.com/999/03/19/1988";
list($dd,$mm,$yyyy) = explode('/',$asd);
echo $dd.','.$mm.',',$yyyy;
if (!checkdate($mm,$dd,$yyyy)) {
$error = true;
}