Revision: 40267
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 28, 2011 07:18 by exu
Initial Code
<?php $domains = array('home.pl', 'w3c.org'); function creation_date($domain) { $lines = explode("\n", `whois $domain`); foreach($lines as $line) { if(strpos(strtolower($line), 'created') !== false) { return $line; } } return false; } foreach($domains as $d) { echo creation_date($d) . "\n"; }
Initial URL
Initial Description
simple one minute, you must have whois on your system
Initial Title
Check domain creation date
Initial Tags
php
Initial Language
PHP