") { // Don't wrap lines starting with a > $wrapped .= "$val\n"; } else { while (strlen($val) > 0) { if (strlen($val) <= $length) { $wrapped .= "$val\n"; $val = ""; } else { $pos = strrpos(substr($val, 0, $length), " "); if ($pos) { $wrapped .= substr($val, 0, $pos)."\n"; $val = trim(substr($val, $pos)); } else { $pos = strpos($val, " "); if ($pos) { $wrapped .= substr($val, 0, $pos)."\n"; $val = trim(substr($val, $pos)); } else { $wrapped .= "$val\n"; $val = ""; } } } } } } return $wrapped; } ?> Aliens Stole My Handbag - Hotel Information
No Aliens Here!

Aliens Stole My Handbag!

Home | Progress Report | What's Happening? | Hotel Info | Latest News | Hall of Fame | Application Form | Links | Contact Us

Contact Us

Feedback Form

You must enter your email address.

"; $send = ""; } if (!strlen(trim($mailsubject))) { echo "

You must enter a subject.

"; $send = ""; } if (!strlen(trim($mailmessage))) { echo "

You must enter a message to send to LostCarPark.

"; $send = ""; } } // Message confirmed, so send! if ($confirm) { $headers = "From: $mailfrom\n"; $headers .= "X-Sender: $mailfrom\n"; $headers .= "X-Mailer: Lost Car Park Mailer\n"; // mailer $headers .= "Return-Path: $mailfrom\n"; if (mail($mailto, $mailsubject, WrapText($mailmessage, 70), $headers)) { echo "

Your message has been sent!

"; $sent = "1"; $confirm = ""; } else { echo "

Failed to send message.

"; $confirm = ""; } } // Common fields always shown. echo "
"; echo ""; // Show message for confirmation before sending. if ($send) { echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } else if ($sent) { echo "

Click here to continue.

"; } // Show the mailsending form. else { echo ""; echo ""; echo ""; echo ""; echo ""; } echo "
The following message will be sent to $recipient when you hit the Confirm button.
If you wish to make changes, hit the Edit button.

From: ".htmlspecialchars($mailfrom)."

To: ".htmlspecialchars($recipient)."

Subject: ".htmlspecialchars($mailsubject)."

Message:
".ereg_replace("\n", "
", htmlspecialchars(WrapText($mailmessage, 70)))."

"; echo ""; echo ""; echo ""; echo " "; echo "
Please enter your message to $recipient below.
Don't forget to include your email address so we can reply.

Your email address:

Subject:

Message:

"; ?>

SFLinkSFLink
SFLink