"; } if (!empty($error)) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $error, $errorcode); echo $errorcode; exit; } $internalfields = array ("submit", "reset", "send", "captcha_code"); $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (!is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $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 && $_FILES[$key]['size'] <= $max_filesize) { $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; mail($mailto, $subject, $body, $header); header('Location: '.$success_url); exit; } ?> The Snakepit
26th Regiment RA Association
Royal Regiment of Artillery
United Kingdom of Great Britain and Northern Ireland
Click for the disclaimer
Click to mail the Webmaster
Click for home
This chat room is open 24/7/365 The best time to visit is between 19:00 - 22:00 hrs.
Welcome to the portal of the "SnakePit". You will need a User Name and Password to enter. If you are a member of the Association, or a serving member of the Regiment and would like to chat in the "SnakePit", please complete all of the online form below with your details. Once this information has been registered, an email will be sent to you confirming your User Name and Password. ( Note: please remember your User Name and Password, as once this has been registered, it is encrypted and if you forget it, you will need to reregister again).
The following rules are to be adhered to at all times in the SnakePit. Infringement of these rules will mean an instant and permanent ban from the SnakePit. There will be NO exceptions !!
1. A complaint reported from a member concerning another members conduct.

2. Swearing / blasphemy.

3. Defamation of character, public or otherwise.
Click to enter The SnakePit
Welcome
About
Committee
Bulletin Board
Latest Articles
NAAFI Break
Photos
Members
Humour
Suggestion Box
Wives Section
Reunion
Last Post
Welfare
Links
Contact
The code is case sensitive (sometimes with a mixture of upper case letters and numbers). If the code is unreadable, click the left hand code box for a new code.
Name:
Security:
Click for new image
Email:
Password:
Service No: