Jump to content

Ultrakd

Member
  • Posts

    12
  • Joined

  • Last visited

Profile Information

  • Location
    Fl

Contact Methods

  • Website
    http://www.geckogeeks.com

Ultrakd's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I have a simple contact form that I was using that I liked. But the problem was I had no form of Captcha to protect it, so I would always get spam emails. I have found numerous types of Captcha on the internet but my problem is my knowledge of PHP is minimum. So every one I find I get confused on how to put the Captcha into my form. I would really appreciate it if you guys could help me. If you guys know of a code that is better than this or if I have done somthing wrong please let me know. Here is the php sending code I am using: <?php /*Subject and Email Variables*/ $emailSubject = 'Customer Has a Question!'; $webMaster = 'info@geckogeeks.com'; /* Gathering Data Variables*/ $reasonforemailField = $_POST['reasonforemail']; $nameField = $_POST['name']; $emailField = $_POST['email']; $questionsField = $_POST['questions']; $gfField = $_POST['yes']; $brField = $_POST['yes']; $searchField = $_POST['yes']; $breederField = $_POST['yes']; $otherField = $_POST['yes']; $body = << Reason for Email: $reasonforemail Name: $name Email: $email Questions: $questions Gecko Forums: $gf BP.net: $bp Search Engine: $search Breeder Reccomendation: $breeder Other: $other EOD; $headers = "From: $email\r\n"; $headers .= "Content-type: text/html\r\n"; $success = mail($webMaster, $emailSubject, $body, $headers); /* Results rendard as HTML*/ $theResults = << EOD; echo "$theresults"; ?> Thanks Chris
  2. Here is a link to my contact page http://www.geckogeeks.com/HTML/contact.html. I started using the spry text areas I think this might fix the problem. Here is my PHP script for it. <?php /*Subject and Email Variables*/ $emailSubject = 'Customer Has a Question!'; $webMaster = 'info@geckogeeks.com'; /* Gathering Data Variables*/ $reasonforemailField = $_POST['reasonforemail']; $nameField = $_POST['name']; $emailField = $_POST['email']; $questionsField = $_POST['questions']; $geckoforumsField = $_POST['yes']; $searchengineField = $_POST['yes']; $breederField = $_POST['yes']; $otherField = $_POST['yes']; $body = << Reason for Email: $reasonforemail Name: $name Email: $email Questions: $questions Gecko Forums: $geckoforums Search Engine: $searchengine Breeder Reccomendation: $breeder Other: $other EOD; $headers = "From: $email\r\n"; $headers .= "Content-type: text/html\r\n"; $success = mail($webMaster, $emailSubject, $body, $headers); /* Results rendard as HTML*/ $theResults = << EOD; echo "$theresults"; ?>
  3. Once I started to think about it and realized this is what I asked for and wanted. I appreciate it. What do you think I should do to tie it together?
  4. alright thanks this really helps. :D
  5. Im starting to understand it now. I validated the index page. I just saw that Dreamweaver has a validating thing. :D
  6. Im sorry I dont understand them and seem like and Idot. Im only 14 and have only taken one course on Web Design and HTML coding. CSS Im slowly learning. I see where it is talking about I just dont know what I am supposed to change.
  7. I dont understand how to use it. I get that you put your adress in there but I dont know what the errors are. Does this make sense?
  8. I am using the contact form PHP from Tutvid.com. But he doesnt show how to make a varification image or none of that. On my site I have an image but I dont have it coded properly to not allow the email to be sent unless it is properly typed in. In other words on my contact form you can type anything in and it will send it. Help Please!!
  9. Here is my site is. I hope you guys like it and give me feedback please. http://ww.GeckoGeeks.com
  10. Hey Im new here and kinda new to web designing too. I was wondering what the main difference between PHP and HTML is. Is there an advantage to using PHP for designing you sites instead of PHP? Thanks
×
×
  • Create New...