All pastes #150094 Raw Edit

Stuff

public text v1 · immutable
#150094 ·published 2006-08-26 13:38 UTC
rendered paste body
<?php
/*****************************
*3xAnimal presents
*Feedback form!
*A customizable GPL PHP script
*Sends an e-mail depending
*On what the user wrote
*Written by Joseph Davison
*www.skatergames.co.uk
******************************/
//Create message
$tehemailageblob = "E-mail Address: " . $_POST['sendemail'] . "
Feedback for: " . $_POST['sendfor'] . "
Good/Bad/Great " . $_POST['sendrating'] . "
" . $_POST['sendmessage'] . "
Additional comments: " . $_POST['sendcomments'] . "
IP: " . $_SERVER['REMOTE_ADDR'];
"Sent by  " . $_POST['sendname'] . ""

//Title thing
$title = "Feedback Form - Powered by phpFeedback";
$title2 = "Message sent! Now delivering to the Sites Inbox"

//In case they decided to write a million words, we make a new line every 70 characters.
//AHOY OVER THERE! This makes the message
$tehemailageblob = wordwrap($tehemailageblob, 70);
                                             //If you want a different wrap setting, edit.

//Ok now we tell the server to get THE IDIOTIC MESSAGE SENT! GAAAAAAAAHHHHH!!!!!!!!
mail('animal@habbokradio.net', 'Feedback for sitename', $tehemailageblob);
//E-mail to send to                //Subject for e-mail     //Do not edit.
echo "
<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>
<title>$title2</title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
</head>
<body>
<b>Message sent! If you made any mistakes go back and note it in the comments section :)</b>
<!-- Powered by phpFeedback form -->
</body>
</html>"
?>