Jump to content

mrkarter77

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mrkarter77's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Oh should i add i have been googling for hours and can only find login forms.....
  2. Hi looking for a script for an event im doing, all i need it to do is have a basic email form, and also send the registrant conformation, is there a script available?
  3. This form has worked before yet it is only recently sincs i have been getting the google bots crawling my site and using 5gb of bandwidth in the first day of the month and me having no bandwidth left that i have been getting this would that have anything to do with it
  4. but i do have php installed by them, allthough google is apparently using my bandwidth but they wont give me a proper report so i can show google and make them stop so i am going way over my 2gb limit by almost triple but thanks for the help you guys are great
  5. yes how clumsy of me now thats back to basics now back to the saving thing [a href=\"http://media.mackaykarting.com/Profiles/test.php\" target=\"_blank\"]http://media.mackaykarting.com/Profiles/test.php[/a]
  6. i dont see the code or any thing else you can see for yourself at [a href=\"http://media.mackaykarting.com/test.htm\" target=\"_blank\"]http://media.mackaykarting.com/test.htm[/a]
  7. I have done this but am not sure what is supposed to happen
  8. aagh doube posters soz dude wish i could help but i dont know any thing about this but could you please clear up what this headers thing is
  9. I have my contact forms and driver profile submit forms on my website but whenever a user or myself tries to use them they ask what to do with the php script eg save or open. why is this happening. this can be found at [a href=\"http://media.mackaykarting.com/Profiles/\" target=\"_blank\"]http://media.mackaykarting.com/Profiles/[/a] P.S. i am new to php and dont really know much about this the code i have is <?php // Website Contact Form Generator // [a href=\"http://www.tele-pro.co.uk/scripts/contact_form/\" target=\"_blank\"]http://www.tele-pro.co.uk/scripts/contact_form/[/a] // This script is free to use as long as you // retain the credit link // get posted data into local variables $EmailFrom = Trim(stripslashes($_POST['EmailFrom'])); $EmailTo = "adam@mackaykarting.com"; $Subject = "Driver_profile"; $Name = Trim(stripslashes($_POST['Name'])); $classes_raced = Trim(stripslashes($_POST['classes_raced'])); $Age = Trim(stripslashes($_POST['Age'])); $Make_of_kart = Trim(stripslashes($_POST['Make_of_kart'])); $racing_number = Trim(stripslashes($_POST['racing_number'])); $Most_respected_competitor = Trim(stripslashes($_POST['Most_respected_competitor'])); $career_highlights = Trim(stripslashes($_POST['career_highlights'])); $driving_ambitions = Trim(stripslashes($_POST['driving_ambitions'])); $how_long_karting = Trim(stripslashes($_POST['how_long_karting'])); $other_comments = Trim(stripslashes($_POST['other_comments'])); $agree = Trim(stripslashes($_POST['agree'])); // validation $validationOK=true; if (Trim($EmailFrom)=="") $validationOK=false; if (!$validationOK) { print "<meta http-equiv=\"refresh\" content=\"0;URL=error.htm\">"; exit; } // prepare email body text $Body = ""; $Body .= "Name: "; $Body .= $Name; $Body .= "\n"; $Body .= "classes_raced: "; $Body .= $classes_raced; $Body .= "\n"; $Body .= "Age: "; $Body .= $Age; $Body .= "\n"; $Body .= "Make_of_kart: "; $Body .= $Make_of_kart; $Body .= "\n"; $Body .= "racing_number: "; $Body .= $racing_number; $Body .= "\n"; $Body .= "Most_respected_competitor: "; $Body .= $Most_respected_competitor; $Body .= "\n"; $Body .= "career_highlights: "; $Body .= $career_highlights; $Body .= "\n"; $Body .= "driving_ambitions: "; $Body .= $driving_ambitions; $Body .= "\n"; $Body .= "how_long_karting: "; $Body .= $how_long_karting; $Body .= "\n"; $Body .= "other_comments: "; $Body .= $other_comments; $Body .= "\n"; $Body .= "agree: "; $Body .= $agree; $Body .= "\n"; // send email $success = mail($EmailTo, $Subject, $Body, "From: <$EmailFrom>"); // redirect to success page if ($success){ print "<meta http-equiv=\"refresh\" content=\"0;URL=ok.htm\">"; } else{ print "<meta http-equiv=\"refresh\" content=\"0;URL=error.htm\">"; } ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.