All pastes #549370 Raw Edit

Mine

public php v1 · immutable
·published 2007-06-08 02:57 UTC
rendered paste body
<?php$domain = htmlspecialchars($_POST['domain']);$ext = htmlspecialchars($_POST['ext']);$subject = file_get_contents("http://www.checkdomain.com/cgi-bin/checkdomain.pl?domain=www.$domain.$ext");if (preg_match("/has already been registered/", $subject)) {echo "The domain you requested, <b>http://www.$domain.$ext</b> is not avaliable.";}else {echo "The domain you requested, <b>http://www.$domain.$ext</b> is avaliable!!";}?>