"; throw new Exception($error); } $message .= $eol; $message .= "IP Address : "; $message .= $_SERVER['REMOTE_ADDR']; $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } } } $body = 'This is a multi-part message in MIME format.'.$eol.$eol; $body .= '--'.$boundary.$eol; $body .= 'Content-Type: text/plain; charset=ISO-8859-1'.$eol; $body .= 'Content-Transfer-Encoding: 8bit'.$eol; $body .= $eol.stripslashes($message).$eol; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if ($_FILES[$key]['error'] == 0) { $body .= '--'.$boundary.$eol; $body .= 'Content-Type: '.$_FILES[$key]['type'].'; name='.$_FILES[$key]['name'].$eol; $body .= 'Content-Transfer-Encoding: base64'.$eol; $body .= 'Content-Disposition: attachment; filename='.$_FILES[$key]['name'].$eol; $body .= $eol.chunk_split(base64_encode(file_get_contents($_FILES[$key]['tmp_name']))).$eol; } } } $body .= '--'.$boundary.'--'.$eol; if ($mailto != '') { mail($mailto, $subject, $body, $header); } header('Location: '.$success_url); } catch (Exception $e) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $e->getMessage(), $errorcode); echo $errorcode; } exit; } ?> Untitled Page
Copyright 2013 by Dunaskin Doon Band    All Rights reserved                                 EMail: info@ddband.co.uk. Tel: 0845 370 7877
Dunaskin Doon Band
Registered as a Scottish Charitable Incorporated Organisation with the Charity Number SC049321.
Designed by BMK@DDB
est. 1869
Contact Us
Name:
Email:
Please type your message here:
Please send us an enquiry by completing this form:
You are welcome to come and see us at our rehearsal facilities,
currently in Seafield Bowling Club, Carwinshoch View, Ayr (KA7 4AY)
on a Monday or Thursday evening (19:30-21:30). Please contact
band secretary, Fiona Waddington, on 07884 008040, or via
secretary@ddband.co.uk, for any further details.
On the build up to Contests, and Concerts, we may have extra practices and sectional rehearsals which may be available for public viewing.
If you do wish to visit, or become a member, we may be able to assist with travel arrangements as we have members travelling from all over Ayrshire, and beyond, who may be able to offer you a lift or  car share.