'; if (stristr($str,$word)) $nb++; return $nb; } $form_6_class='form_6_error'; $form_6_error=''; $form_6_spam=0; $form_6_td_34_class='form_6_info'; $form_6_td_34_error=' '; $form_6_td_34_value=''; $form_6_td_35_class='form_6_info_35'; $form_6_td_35_error=' '; $form_6_td_35_value=''; $form_6_td_36_class='form_6_info_36'; $form_6_td_36_error=' '; $form_6_td_36_value=''; $form_6_td_37_class='form_6_info_37'; $form_6_td_37_error=' '; $form_6_td_37_value=''; $form_6_td_38_class='form_6_info_38'; $form_6_td_38_error=' '; $form_6_td_38_value=''; if ('gmsyEKQW'==my_get_post('form_6_submit')) { $form_6_error_string='There are errors which need correction.'; $form_6_td_34_error_class='form_6_error'; $form_6_td_34_error_must='Error: This field is required!'; $form_6_td_34_error_spam='Error: http: < > are not allowed!'; $form_6_td_34_value=my_get_post('Name' ,true); $form_6_body.='Name : '.my_get_post('Name')."\r\n"; if (''==trim(my_get_post('Name'))) {$form_6_td_34_class=$form_6_td_34_error_class; $form_6_td_34_error=$form_6_td_34_error_must; $form_6_error=$form_6_error_string;} $form_6_td_34_spam=form_6_count_spam(my_get_post('Name')); if ($form_6_td_34_spam>0) { if ($form_6_td_34_class!=$form_6_td_34_error_class) {$form_6_td_34_class=$form_6_td_34_error_class; $form_6_td_34_error=$form_6_td_34_error_spam; $form_6_error=$form_6_error_string;} $form_6_spam += $form_6_td_34_spam; } $form_6_td_35_error_class='form_6_error_35'; $form_6_td_35_error_must='Error: This field is required!'; $form_6_td_35_error_validation='Error: This field must be an email!'; $form_6_td_35_error_spam='Error: http: < > are not allowed!'; $form_6_td_35_value=my_get_post('Email' ,true); $form_6_body.='Email : '.my_get_post('Email')."\r\n"; if (''==trim(my_get_post('Email'))) {$form_6_td_35_class=$form_6_td_35_error_class; $form_6_td_35_error=$form_6_td_35_error_must; $form_6_error=$form_6_error_string;} if ($form_6_td_35_class!=$form_6_td_35_error_class && ''!=trim(my_get_post('Email')) && !isEmail(my_get_post('Email'))) {$form_6_td_35_class=$form_6_td_35_error_class; $form_6_td_35_error=$form_6_td_35_error_validation; $form_6_error=$form_6_error_string;} $form_6_td_35_spam=form_6_count_spam(my_get_post('Email')); if ($form_6_td_35_spam>0) { if ($form_6_td_35_class!=$form_6_td_35_error_class) {$form_6_td_35_class=$form_6_td_35_error_class; $form_6_td_35_error=$form_6_td_35_error_spam; $form_6_error=$form_6_error_string;} $form_6_spam += $form_6_td_35_spam; } $form_6_td_36_error_class='form_6_error_36'; $form_6_td_36_error_spam='Error: http: < > are not allowed!'; $form_6_td_36_value=my_get_post('Address' ,true); $form_6_body.='Address : '.my_get_post('Address')."\r\n"; $form_6_td_36_spam=form_6_count_spam(my_get_post('Address')); if ($form_6_td_36_spam>0) { if ($form_6_td_36_class!=$form_6_td_36_error_class) {$form_6_td_36_class=$form_6_td_36_error_class; $form_6_td_36_error=$form_6_td_36_error_spam; $form_6_error=$form_6_error_string;} $form_6_spam += $form_6_td_36_spam; } $form_6_td_37_error_class='form_6_error_37'; $form_6_td_37_error_spam='Error: http: < > are not allowed!'; $form_6_td_37_value=my_get_post('Telephone' ,true); $form_6_body.='Telephone : '.my_get_post('Telephone')."\r\n"; $form_6_td_37_spam=form_6_count_spam(my_get_post('Telephone')); if ($form_6_td_37_spam>0) { if ($form_6_td_37_class!=$form_6_td_37_error_class) {$form_6_td_37_class=$form_6_td_37_error_class; $form_6_td_37_error=$form_6_td_37_error_spam; $form_6_error=$form_6_error_string;} $form_6_spam += $form_6_td_37_spam; } $form_6_td_38_error_class='form_6_error_38'; $form_6_td_38_error_spam='Error: http: < > are not allowed!'; $form_6_td_38_value=my_get_post('Details' ,true); $form_6_body.='Details : '.my_get_post('Details')."\r\n"; $form_6_td_38_spam=form_6_count_spam(my_get_post('Details')); if ($form_6_td_38_spam>0) { if ($form_6_td_38_class!=$form_6_td_38_error_class) {$form_6_td_38_class=$form_6_td_38_error_class; $form_6_td_38_error=$form_6_td_38_error_spam; $form_6_error=$form_6_error_string;} $form_6_spam += $form_6_td_38_spam; } if (''==trim($form_6_error) && 0==$form_6_spam) { $receiver='treasurer@birminghamafa.co.uk'; $subject='Form Result -- Contact'; if (isEmail( $form_6_td_28_value )) $header='From: '.$form_6_td_28_value; $subject.=$form_6_td_28_value; $subject= substr($subject, 0, 255); $subject=str_replace("\n", " ", $subject); $subject=str_replace("\r", " ", $subject); $body=str_replace("\n.", "\n..", $form_6_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.birminghamafa.co.uk/thank-you.php'; if (!headers_sent()){ header('Location: '.$url); exit; }else{ echo ''; echo ''; exit; } exit; } } if (trim($form_6_error)) $form_6_error="$form_6_error"; } if ($form_6_spam >= 3) sleep(20); if ($form_6_spam >= 3) $form_6_td_34_value=''; if ($form_6_spam >= 3) $form_6_td_35_value=''; if ($form_6_spam >= 3) $form_6_td_36_value=''; if ($form_6_spam >= 3) $form_6_td_37_value=''; if ($form_6_spam >= 3) $form_6_td_38_value=''; ?> Join the Birmingham Football League
The Birmingham & District Football League


get in touch...


 
Welcoming new clubs for the 2016/17 season...

We always welcome new teams to the Birmingham Football League whether they be stepping up from Youth level, joining from other leagues or brand new start up clubs.

If you'd like to apply to join the Birmingham Football League or receive more information about the process please complete the form below and we'll get back to you as soon as we can.

Name:
Email:
Address:
Telephone:
Details: