security to email contact form, how???

Discussion in 'PHP' started by CircleOfLinks, May 11, 2008.

  1. #1
    Hey guys.

    I need help adding a security code to my email contact page. I've had the conact us form active for 3-4 days now and ive been recieving 'junk' so I want to add the security code where uses type in the code in the contact form.

    I'm not very experianced in coding and they person who normally does it wont be back for about another week or so, so if there is a simple way of implementing it on the site i would really appreciate it.

    The current contact page can be seen at here and i just want to add the security code on there towards the bottom of the form, so if possible please send me the code or tell me where i can get it from.

    thanks heaps in advanced.
     
    CircleOfLinks, May 11, 2008 IP
  2. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
  3. cornetofreak

    cornetofreak Peon

    Messages:
    170
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    also think about javascript to clear your textbox on mouse click
     
    cornetofreak, May 11, 2008 IP
  4. CircleOfLinks

    CircleOfLinks Active Member

    Messages:
    306
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #4
    ok, thanks heaps mate
     
    CircleOfLinks, May 11, 2008 IP
  5. CircleOfLinks

    CircleOfLinks Active Member

    Messages:
    306
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #5
    please if any1 can help... not sure what ive done wrong but ive followed the instructions of this page http://www.white-hat-web-design.co.uk/articles/php-captcha.php and i cant get it to work... if you look at the source code on www.swiftproductions.com.au/mailer2.htm (just a temp page to show you guys the code) this is the page it normally goes to www.swiftproductions.com.au/mailer.php after you click the submit button but as you can see it wont even ask for the security code... please help!!!

    sorry forgot to mention that im talking about the contact us page on my site
     
    CircleOfLinks, May 12, 2008 IP
  6. CircleOfLinks

    CircleOfLinks Active Member

    Messages:
    306
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #6
    hey guys please if you can help me with this i would really appreciate it, so far my contact page is made up of 3 pages. See below for the source code i have used.

    you can see the source codes of all 3 pages. conact_us.html , mailer.php, and capturesecurityimage.php here...


    The problem im having is that the form works fine but i'm trying to add a capture to it. I have followed instructions given to me from http://www.white-hat-web-design.co.uk/articles/php-captcha.php

    Please I need the fixed up asap so if you can help me i would really really appreciate it

    If you go to the site and try and do a test message you keep getting the same error message saying that the code is in-correct. The security code isn't showing up either.

    If you know a simpler way or have a differnt script or something I can use I would really appreciate it.

    thanks in advanced
     
    CircleOfLinks, May 13, 2008 IP
  7. CircleOfLinks

    CircleOfLinks Active Member

    Messages:
    306
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #7
    hey guys its kinda sorted out, im only have one small problem. It works fine in I.E but as soon as you try it with FF it won't work. You can 'submit' the message without enterting a security code. Any one know why??
     
    CircleOfLinks, May 13, 2008 IP