300){$error='The message must contain fewer than 300 characters.';}else if(empty($eml)){$error='It appears that you forgot to enter your email address.';}else if($eml!=$cnfrm){$error='The email addresses are not identical.';}else if(empty($htst)){$error='It appears that you have not added the numbers in the human test.';}else if($fone+$gone!=(int)$htst){$error='The human test is incorrect.';} if(empty($error)){if(stripos($_SESSION['_host'],'co.uk')>0){$dom='.co.uk';}elseif(stripos($_SESSION['_host'],'net')>0){$dom='.net';}else{$dom='.com';}mail("sales@ho-hose.co.uk","Ho-hose ($dom) Contact Form","$msg\nName: $nme\n\nIP ADDRESS: $remadd\nDate and Time: $dte GMT\n","From: $eml"); echo '


Many thanks for your enquiry:

we will respond to your message

as soon as possible — usually within 12 hours.



';unset($nme,$eml,$cnfrm,$msg,$dte);} else{echo '

Error

Oops!! ',$error,'


Please try again.


';};} if(!empty($error)||(empty($_GET['name'])&&empty($_GET['email'])&&empty($_GET['email_cnfrm'])&&empty($_GET['message'])&&empty($_GET['htest']))){$f=strval(mt_rand(100,999)); $g=strval(mt_rand(100,999));echo '

Ho-hose Contact Form
  * All fields are required              
Name:
Your e-mail address:
Confirm your e-mail address:
Message:
Human test - add the digits in red : ',$f{0},'',$f{1},'',$f[2],' + ',$g{0},'',$g{1},'',$g{2},' =  
';}?>