All pastes #419066 Raw Edit

Someone

public php v1 · immutable
·published 2007-04-01 00:51 UTC
rendered paste body
<?php	if (!isset($_REQUEST['check'])) {		$results = '';	} elseif (empty($_REQUEST['domain'])) {			$results = '<b>Please fill in all fields</b>';		} else {			$string = $_REQUEST['domain'] . $_REQUEST['tld'];			$site = file_get_contents("http://isfree.schlundtech.de/cgi-bin/isfree.cgi?domain=$string&lang=EN");			if (strpos($site, 'is still available') !== false) {					$results = "<b>$string is Available</b> <a href='#'>Click here to order</a>";			} else {				$results = "<b>$string is Not Available</b>";			}		}	}?>