All pastes #419055 Raw Edit

Untitled

public php v1 · immutable
·published 2007-04-01 00:43 UTC
rendered paste body
	<?php 	if (!$_REQUEST['check']) { 		$results = ""; 	} else {		if (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");						$findme  = "The domain $string is still available";						$pos = strpos($site, $findme);				if ($pos !== false) {						$results = "<b>$string is Available</b> <a href='#'>Click here to order</a>";				} else {					$results = "<b>$string is Not Available</b>";				} 		}	}	?>