GetDotted Domains

Viewing Thread:
"urg.. this stupid form"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Wed 28/07/04 at 14:04
Regular
"^^^New Online Arcad"
Posts: 1,369
I got this free form off the net and have been using for ages for people to submit cheats to me from my website, i have now been asked to make a form for a friend. They do not need to email box as people using the form may not have an email address. I have tried editing the form and cannot remove the code to stop it sayin "you have not completed email" and "the email address you have entered is not valid"

If you have anyway of helping me and gettin around this problem please can you, thanks
Thu 29/07/04 at 13:31
Regular
"^^^New Online Arcad"
Posts: 1,369
Thanks alot !!!
Thu 29/07/04 at 12:45
Regular
"Eff, you see, kay?"
Posts: 14,156
if (!ereg('^[-!#$%&\'*+\\.( space)/0-9=?A-Z^_`a-z{|}~]+'.

'@'.

'[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.'.

'[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$', $email)) {
echo "Your email, $email, is not valid. Please click here to fill in a proper email. Thank You.";
exit;
}

Remove this.
Thu 29/07/04 at 11:26
Regular
"^^^New Online Arcad"
Posts: 1,369

// CONFIGURATION
// Your name. e.g. $y_name = "Your Name";
$y_name = "Alex James";

// Your email. e.g. $y_email = "[email protected]";
$y_email = "[email protected]";

// Auto response option - yes or no. e.g. $autor = "yes";
$autor = "no";

/* Message for auto response mail. e.g. $autor_mail = "Thanks for subscribing to our newsletter."; If you don't want auto response ignore this */
$autor_mail = "Thank you for submitting the cheat to Alexj17.com, it will be checked and added to the site as soon as possible";

/* Subject of the Autoresponse Mail. e.g. $autor_subject = "Auto Response Email"; */
$autor_subject = "Alexj17.com - Cheat Submitted";

/* The URL the form will redirect to after processing the email form. e.g. $after = "http://www.yourdomain.com"; */
$after = "http://www.alexj17.com/submit/cheat/sent.htm";

/* The required fields for the form. e.g. $rfields = "name,email,message"; separate fields with a comma. the fields are what that is found in:

the name part. in this case, it is email. another example.

so in this case it is bla. if you don't want any required fields, just leave this thing blank(default)*/
$rfields = "name";
// DO NOT EDIT ANY FURTHER PLEASE.

if (isset($sent)) {
if (!$rfields == "") {
$rfields = explode(",", $rfields);

for($i = 0; $i < count($rfields); $i++) {
if ($$rfields[$i] == "") {
echo "You have not completed the required field $rfields[$i]. Please click here to go back and fill up the required field. Thank You.";
exit;
}
}
}
if (!ereg('^[-!#$%&\'*+\\.( space)/0-9=?A-Z^_`a-z{|}~]+'.

'@'.

'[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.'.

'[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$', $email)) {
echo "Your email, $email, is not valid. Please click here to fill in a proper email. Thank You.";
exit;
}


$fmail = "$y_name, here is a cheat that has been submitted from your site, you are very sexy and everyone loves you, nice site by the way\n\n";
$fmail.= "IP Address: $REMOTE_ADDR\n";

$fields = array_keys($HTTP_POST_VARS);
for($i = 0; $i < count($fields); $i++) {
$temp = $fields[$i];
if ($temp == "rfields" || $temp == "submit" || $temp == "sent" || $temp == "y_name" || $temp == "y_email" || $temp == "autor" || $temp == "autor_message" || $temp == "$autor_mail" || $temp == "$autor_subject" || $temp == "after")
$fmail = $fmail;
else {
$temp1 = stripslashes($HTTP_POST_VARS[$temp]);
$fmail.= "$temp: $temp1\n";
}
}
$fmail.= "\nScript Provided by MyKazaam (http://mykazaam.com)";
$mailed = mail($y_email, "Submitted Cheat", $fmail, "From: $name <$email>");
if ($autor == "yes")
{
$autor_subject = stripslashes($autor_subject);
$autor_mail = stripslashes($autor_mail);
mail($email, $autor_subject, $autor_mail, "From: $y_name <$y_email>");

}
if(!$mailed) {
echo "There was an error. Please contact the Webmaster?";
}
echo "";

} else {
?>
size="2">







































}
?>
Thu 29/07/04 at 11:25
Regular
"^^^New Online Arcad"
Posts: 1,369
Afternoon wrote:
> Make the from email address hidden and specify an email address for
> them.

yeah i thought of that but didnt know how, lol
Wed 28/07/04 at 18:21
Regular
"Pouch Ape"
Posts: 14,499
Turbonutter wrote:
> Post the form.

Nice one - he'll probably ask what your home address is :p
Wed 28/07/04 at 17:35
Regular
"Freeola Support"
Posts: 700
Make the from email address hidden and specify an email address for them.
Wed 28/07/04 at 15:23
Regular
"Eff, you see, kay?"
Posts: 14,156
Post the form.
Wed 28/07/04 at 14:04
Regular
"^^^New Online Arcad"
Posts: 1,369
I got this free form off the net and have been using for ages for people to submit cheats to me from my website, i have now been asked to make a form for a friend. They do not need to email box as people using the form may not have an email address. I have tried editing the form and cannot remove the code to stop it sayin "you have not completed email" and "the email address you have entered is not valid"

If you have anyway of helping me and gettin around this problem please can you, thanks

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Unrivalled services
Freeola has to be one of, if not the best, ISP around as the services they offer seem unrivalled.
Second to none...
So far the services you provide are second to none. Keep up the good work.
Andy

View More Reviews

Need some help? Give us a call on 01376 55 60 60

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.


Name:




Address:












Post Code:




Telephone Number:




Notes/Comments: