Location: PHPKode > projects > Php Admin Tools > EasyPHP/www/PAT_0.0.9b/extra/PAT/apps/caffeine_monkey/whois.php
<?php

/*	Copyright 2002-2003 Phillip Stansell & Damien Heiser
 *
 *	This file is part of Caffeine Monkey.
 *
 *	Caffeine Monkey is free software; you can redistribute it and/or modify
 *	it under the terms of the GNU General Public License as published by
 *	the Free Software Foundation; either version 2 of the License, or
 *	(at your option) any later version.
 *
 *	Caffeine Monkey is distributed in the hope that it will be useful,
 *	but WITHOUT ANY WARRANTY; without even the implied warranty of
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *	GNU General Public License for more details.
 *
 *	You should have received a copy of the GNU General Public License
 *	along with Caffeine Monkey; if not, write to the Free Software
 *	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

require_once './cm.php';

$form_domain = $_GET[domain];
$form_server = $_GET[whois_server];
$whois_command;

echo html_header( array( 'page_name' => 'Whois', 'host_name' => $form_domain ) );

if ( isset($_GET[domain]) ) {
 $whois_command = whois($form_domain, $form_server);

 echo date("r")."\n";
 System($whois_command);
}

echo html_footer();

?>

Return current item: Php Admin Tools