melic thrum
 
You Tube Channel 
news          music          gigs          contact us  
 
BELLonline PHP mailer script

There is a problem with your PHP mailer script installation

The config.php file seems to be missing!

For this script to work, you need to upload the config.php file that came with the download of the BELLonline PHP mailer script.

The file must be in the following directory of your website:

$host$file_path/

If you need help installing the script, then feel free to email me at gavin@bellonline.co.uk

"; exit; } include "config.php"; if ($sendto_email == "changeme@example.com") { print "

BELLonline PHP mailer script

Installation nearly complete!

Thank you for downloading the free PHP mailer script from BELLonline web services.

To start using the script, open config.php in a text editor and change the $sendto_email variable to your email address.

If you did not get a config.php file with this script, then go to the PHP mailer script page and download the full script.

If you need help installing the script, then feel free to email me at gavin@bellonline.co.uk

"; exit; } if (empty ($senders_name)) { $error = "1"; $info_error .= $lang_noname . "
"; } if (empty ($senders_email)) { $error = "1"; $info_error .= $lang_noemail . "
"; } if (empty ($mail_subject)) { $error = "1"; $info_error .= $lang_nosubject . "
"; } if (empty ($mail_message)) { $error = "1"; $info_error .= $lang_nomessage . "
"; } if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,6}$", $senders_email)) { $error = "1"; $info_error .= $lang_invalidemail . "
"; } if (empty ($security_code)) { $error = "1"; $info_error .= $lang_nocode . "
"; } elseif ($security_code != $randomness) { $error = "1"; $info_error .= $lang_wrongcode . "
"; } if ($showlink != "no") { $link = "
Powered by BELLonline PHP mailer script"; } if ($error == "1") { $info_notice = "" . $lang_error . "
"; if (empty ($submit)) { $info_error = ""; $info_notice = $lang_notice; } function Random() { $chars = "ABCDEFGHJKLMNPQRSTUVWZYZ23456789"; srand((double)microtime()*1000000); $i = 0; $pass = '' ; while ($i <= 4) { $num = rand() % 32; $tmp = substr($chars, $num, 1); $pass = $pass . $tmp; $i++; } return $pass; } $random_code = Random(); $mail_message = stripslashes($mail_message); print "
$lang_title
$info_notice$info_error
$lang_name
$lang_youremail
$lang_subject
$lang_message
$lang_confirmation     $random_code
"; } else { if ($checkdomain == "yes") { $sender_domain = substr($senders_email, (strpos($senders_email, '@')) +1); $recipient_domain = substr($sendto_email, (strpos($sendto_email, '@')) +1); if ($sender_domain == $recipient_domain) { print "Sorry, you cannot send messages from this domain ($sender_domain)"; exit; } } $info_notice = $lang_sent; $mail_message = stripslashes($mail_message); $senders_email = preg_replace("/[^a-zA-Z0-9s.@-_]/", "-", $senders_email); $senders_name = preg_replace("/[^a-zA-Z0-9s]/", " ", $senders_name); $headers = "From: $senders_name <$senders_email> \r\n"; $headers .= "X-Mailer: BELLonline.co.uk PHP mailer \r\n"; mail($sendto_email, $mail_subject, $mail_message, $headers); print "
$lang_title
$info_notice
$lang_name $senders_name
$lang_youremail $senders_email
$lang_subject $mail_subject
$lang_message $mail_message
"; } print $link; ?>