'; if (stristr($str,$word)) $nb++; return $nb; } function isNumber($str) { if(is_numeric($str)) return true; else return false; } $form_1_class='form_1_error'; $form_1_error=''; $form_1_spam=0; $form_1_td_1_class='form_1_info'; $form_1_td_1_error=' '; $form_1_td_1_value=''; $form_1_td_2_class='form_1_info'; $form_1_td_2_error=' '; $form_1_td_2_value=''; $form_1_td_4_class='form_1_info'; $form_1_td_4_error=' '; $form_1_td_4_value=''; $form_1_td_3_class='form_1_info'; $form_1_td_3_error=' '; $select_5_value='PleaseSelect'; $select_5_checked='0'; $select_6_value='EasternCape'; $select_6_checked='0'; $select_66_value='FreeState'; $select_66_checked='0'; $select_67_value='Gauteng'; $select_67_checked='0'; $select_68_value='Kwazulu-Natal'; $select_68_checked='0'; $select_69_value='Limpopo'; $select_69_checked='0'; $select_70_value='Mpumalanga'; $select_70_checked='0'; $select_71_value='NorthernCape'; $select_71_checked='0'; $select_72_value='NorthWest'; $select_72_checked='0'; $select_80_value='WesternCape'; $select_80_checked='0'; $form_1_td_26_class='form_1_info'; $form_1_td_26_error=' '; $form_1_td_26_value=''; $form_1_td_23_class='form_1_info'; $form_1_td_23_error=' '; $select_57_value='ANewCustomer'; $select_57_checked='0'; $select_58_value='AnExistingCustomer'; $select_58_checked='0'; $form_1_td_27_class='form_1_info'; $form_1_td_27_error=' '; $select_73_value='PleaseSelect'; $select_73_checked='0'; $select_74_value='AccountsQuery'; $select_74_checked='0'; $select_75_value='DomainRegistrationQuery'; $select_75_checked='0'; $select_76_value='GeneralQuery'; $select_76_checked='0'; $select_77_value='ProductQuery'; $select_77_checked='0'; $select_78_value='SubmitaTestimonial'; $select_78_checked='0'; $select_79_value='SupportQuery'; $select_79_checked='0'; $select_81_value='WebHostingQuery'; $select_81_checked='0'; $form_1_td_5_class='form_1_info'; $form_1_td_5_error=' '; $form_1_td_5_value=''; if ('metogpli'==my_get_post('form_1_submit')) { $form_1_error_string='There are errors which need correction.'; $form_1_td_1_error_class='form_1_error'; $form_1_td_1_error_must='Error: This field is required!'; $form_1_td_1_error_spam='Error: http: < > are not allowed!'; $form_1_td_1_value=my_get_post('Name' ,true); $form_1_body.='Name : '.my_get_post('Name')."\r\n"; if (''==trim(my_get_post('Name'))) {$form_1_td_1_class=$form_1_td_1_error_class; $form_1_td_1_error=$form_1_td_1_error_must; $form_1_error=$form_1_error_string;} $form_1_td_1_spam=form_1_count_spam(my_get_post('Name')); if ($form_1_td_1_spam>0) { if ($form_1_td_1_class!=$form_1_td_1_error_class) {$form_1_td_1_class=$form_1_td_1_error_class; $form_1_td_1_error=$form_1_td_1_error_spam; $form_1_error=$form_1_error_string;} $form_1_spam += $form_1_td_1_spam; } $form_1_td_2_error_class='form_1_error'; $form_1_td_2_error_must='Error: This field is required!'; $form_1_td_2_error_validation='Error: This field must be an email!'; $form_1_td_2_error_spam='Error: http: < > are not allowed!'; $form_1_td_2_value=my_get_post('Email' ,true); $form_1_body.='Email : '.my_get_post('Email')."\r\n"; if (''==trim(my_get_post('Email'))) {$form_1_td_2_class=$form_1_td_2_error_class; $form_1_td_2_error=$form_1_td_2_error_must; $form_1_error=$form_1_error_string;} if ($form_1_td_2_class!=$form_1_td_2_error_class && ''!=trim(my_get_post('Email')) && !isEmail(my_get_post('Email'))) {$form_1_td_2_class=$form_1_td_2_error_class; $form_1_td_2_error=$form_1_td_2_error_validation; $form_1_error=$form_1_error_string;} $form_1_td_2_spam=form_1_count_spam(my_get_post('Email')); if ($form_1_td_2_spam>0) { if ($form_1_td_2_class!=$form_1_td_2_error_class) {$form_1_td_2_class=$form_1_td_2_error_class; $form_1_td_2_error=$form_1_td_2_error_spam; $form_1_error=$form_1_error_string;} $form_1_spam += $form_1_td_2_spam; } $form_1_td_4_error_class='form_1_error'; $form_1_td_4_error_validation='Error: This field must be a number!'; $form_1_td_4_error_spam='Error: http: < > are not allowed!'; $form_1_td_4_value=my_get_post('Telephone' ,true); $form_1_body.='Telephone : '.my_get_post('Telephone')."\r\n"; if ($form_1_td_4_class!=$form_1_td_4_error_class && ''!=trim(my_get_post('Telephone')) && !isNumber(my_get_post('Telephone'))) {$form_1_td_4_class=$form_1_td_4_error_class; $form_1_td_4_error=$form_1_td_4_error_validation; $form_1_error=$form_1_error_string;} $form_1_td_4_spam=form_1_count_spam(my_get_post('Telephone')); if ($form_1_td_4_spam>0) { if ($form_1_td_4_class!=$form_1_td_4_error_class) {$form_1_td_4_class=$form_1_td_4_error_class; $form_1_td_4_error=$form_1_td_4_error_spam; $form_1_error=$form_1_error_string;} $form_1_spam += $form_1_td_4_spam; } $form_1_td_3_error_class='form_1_error'; $form_1_td_3_error_must='Error: This field is required!'; $form_1_td_3_value=my_get_post('Province' ); $form_1_body.='Province : '.my_get_post('Province')."\r\n"; if ($form_1_td_3_value == $select_5_value) $select_5_checked=1; else $select_5_checked=0; if ($form_1_td_3_value == $select_6_value) $select_6_checked=1; else $select_6_checked=0; if ($form_1_td_3_value == $select_66_value) $select_66_checked=1; else $select_66_checked=0; if ($form_1_td_3_value == $select_67_value) $select_67_checked=1; else $select_67_checked=0; if ($form_1_td_3_value == $select_68_value) $select_68_checked=1; else $select_68_checked=0; if ($form_1_td_3_value == $select_69_value) $select_69_checked=1; else $select_69_checked=0; if ($form_1_td_3_value == $select_70_value) $select_70_checked=1; else $select_70_checked=0; if ($form_1_td_3_value == $select_71_value) $select_71_checked=1; else $select_71_checked=0; if ($form_1_td_3_value == $select_72_value) $select_72_checked=1; else $select_72_checked=0; if ($form_1_td_3_value == $select_80_value) $select_80_checked=1; else $select_80_checked=0; if ($select_5_checked==1) {$form_1_td_3_class=$form_1_td_3_error_class; $form_1_td_3_error=$form_1_td_3_error_must; $form_1_error=$form_1_error_string;} $form_1_td_26_error_class='form_1_error'; $form_1_td_26_error_spam='Error: http: < > are not allowed!'; $form_1_td_26_value=my_get_post('Town' ,true); $form_1_body.='Town : '.my_get_post('Town')."\r\n"; $form_1_td_26_spam=form_1_count_spam(my_get_post('Town')); if ($form_1_td_26_spam>0) { if ($form_1_td_26_class!=$form_1_td_26_error_class) {$form_1_td_26_class=$form_1_td_26_error_class; $form_1_td_26_error=$form_1_td_26_error_spam; $form_1_error=$form_1_error_string;} $form_1_spam += $form_1_td_26_spam; } $form_1_td_23_error_class='form_1_error'; $form_1_td_23_error_must='Error: This field is required!'; $form_1_td_23_value=my_get_post('Iam' ); $form_1_body.='Iam : '.my_get_post('Iam')."\r\n"; if ($form_1_td_23_value == $select_57_value) $select_57_checked=1; else $select_57_checked=0; if ($form_1_td_23_value == $select_58_value) $select_58_checked=1; else $select_58_checked=0; if (''==trim(my_get_post('Iam'))) {$form_1_td_23_class=$form_1_td_23_error_class; $form_1_td_23_error=$form_1_td_23_error_must; $form_1_error=$form_1_error_string;} $form_1_td_27_error_class='form_1_error'; $form_1_td_27_error_must='Error: This field is required!'; $form_1_td_27_value=my_get_post('TypeofQuery' ); $form_1_body.='TypeofQuery : '.my_get_post('TypeofQuery')."\r\n"; if ($form_1_td_27_value == $select_73_value) $select_73_checked=1; else $select_73_checked=0; if ($form_1_td_27_value == $select_74_value) $select_74_checked=1; else $select_74_checked=0; if ($form_1_td_27_value == $select_75_value) $select_75_checked=1; else $select_75_checked=0; if ($form_1_td_27_value == $select_76_value) $select_76_checked=1; else $select_76_checked=0; if ($form_1_td_27_value == $select_77_value) $select_77_checked=1; else $select_77_checked=0; if ($form_1_td_27_value == $select_78_value) $select_78_checked=1; else $select_78_checked=0; if ($form_1_td_27_value == $select_79_value) $select_79_checked=1; else $select_79_checked=0; if ($form_1_td_27_value == $select_81_value) $select_81_checked=1; else $select_81_checked=0; if ($select_73_checked==1) {$form_1_td_27_class=$form_1_td_27_error_class; $form_1_td_27_error=$form_1_td_27_error_must; $form_1_error=$form_1_error_string;} $form_1_td_5_error_class='form_1_error'; $form_1_td_5_error_spam='Error: http: < > are not allowed!'; $form_1_td_5_value=my_get_post('Comments' ,true); $form_1_body.='Comments : '.my_get_post('Comments')."\r\n"; $form_1_td_5_spam=form_1_count_spam(my_get_post('Comments')); if ($form_1_td_5_spam>0) { if ($form_1_td_5_class!=$form_1_td_5_error_class) {$form_1_td_5_class=$form_1_td_5_error_class; $form_1_td_5_error=$form_1_td_5_error_spam; $form_1_error=$form_1_error_string;} $form_1_spam += $form_1_td_5_spam; } if (''==trim($form_1_error) && 0==$form_1_spam) { $receiver='help@ezwebsites.co.za'; $subject='Web Form Submission from EZ Websites'; if (isEmail( $form_1_td_1_value )) $header='From: '.$form_1_td_1_value; $subject.=$form_1_td_2_value; $subject= substr($subject, 0, 255); $subject=str_replace("\n", " ", $subject); $subject=str_replace("\r", " ", $subject); $body=str_replace("\n.", "\n..", $form_1_body); if ($body!="") { $result=mail($receiver,$subject,$body,$header); if (!result) { echo 'ERROR: The PHP mail function mail($receiver,$subject,$body,$header); does not work properly on your server, please contact your web hosting.'; exit; } } if ($result) { $url='http://www.ezwebsites.co.za/thank-you.htm'; if (!headers_sent()){ header('Location: '.$url); exit; }else{ echo ''; echo ''; exit; } exit; } } if (trim($form_1_error)) $form_1_error="$form_1_error"; } if ($form_1_spam >= 3) sleep(20); if ($form_1_spam >= 3) $form_1_td_1_value=''; if ($form_1_spam >= 3) $form_1_td_2_value=''; if ($form_1_spam >= 3) $form_1_td_4_value=''; if ($form_1_spam >= 3) $select_5_checked='0'; if ($form_1_spam >= 3) $select_6_checked='0'; if ($form_1_spam >= 3) $select_66_checked='0'; if ($form_1_spam >= 3) $select_67_checked='0'; if ($form_1_spam >= 3) $select_68_checked='0'; if ($form_1_spam >= 3) $select_69_checked='0'; if ($form_1_spam >= 3) $select_70_checked='0'; if ($form_1_spam >= 3) $select_71_checked='0'; if ($form_1_spam >= 3) $select_72_checked='0'; if ($form_1_spam >= 3) $select_80_checked='0'; if ($form_1_spam >= 3) $form_1_td_26_value=''; if ($form_1_spam >= 3) $select_57_checked='0'; if ($form_1_spam >= 3) $select_58_checked='0'; if ($form_1_spam >= 3) $select_73_checked='0'; if ($form_1_spam >= 3) $select_74_checked='0'; if ($form_1_spam >= 3) $select_75_checked='0'; if ($form_1_spam >= 3) $select_76_checked='0'; if ($form_1_spam >= 3) $select_77_checked='0'; if ($form_1_spam >= 3) $select_78_checked='0'; if ($form_1_spam >= 3) $select_79_checked='0'; if ($form_1_spam >= 3) $select_81_checked='0'; if ($form_1_spam >= 3) $form_1_td_5_value=''; ?> Contact Us - EZ Websites Pietermaritzburg South Africa - Basic Cheap Budget Websites
EZ Websites Pietermaritzburg - Cheap Website Hosting Basic Budget Simple Affordable Websites Pietermaritzburg and Web Design SA

 

EZ Websites Pietermaritzburg - Contact Us

We at EZ Websites pride ourselves with service delivery and strive to satisfy our customer's every need with an effective, efficient and reliable approach.  Excellent communication skills is the key to our success so please don't hesitate to use the form below to submit requests to us so we can assist your every need.  You are sure to receive a response to your questions between 24 and 48 hours.

*** red text = compulsory field ***

Name:
Email:
Telephone:
Province:
Town:
I am:
Type of Query:
Comments:
 

Products

Click here to view EZ Websites products and prices

Learn more

About Us

Click here to view EZ Websites company profile.

Learn more

Contact Us

Click here to view EZ Websites contact information.

Learn more

     PCFX Computers - Pietermaritzburg - For All Your Computer Needs