+ Reply to Thread
Results 1 to 5 of 5

Thread: How do I protect my form in php??

  1. #1
    bunglebrown is offline x10 Sophmore bunglebrown is an unknown quantity at this point
    Join Date
    Aug 2008
    Posts
    157

    Question How do I protect my form in php??

    Yes. . . I have created a form in HTML that once submitted is sent to a php page where it is then sent onto me> my question is how to protect from spammers that can get hold of the recipient email address. Any good tips or effective coding would be great.

  2. #2
    Scoochi2's Avatar
    Scoochi2 is offline x10 Sophmore Scoochi2 is an unknown quantity at this point
    Join Date
    Aug 2008
    Location
    Southport!
    Posts
    185

    Re: How do I protect my form in php??

    PHP is processed server side. None of the code will be shown to the users of your form. Unless you include some form of output that includes your email address...
    (or if you cock up your coding which results in an error that reveals part of your code, your email address being including within that).
    If anyone can see it, my post was meant for anyone who reads it. Don't take it personally or think I'm being condescending... :nuts:

  3. #3
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: How do I protect my form in php??

    If you're worried about bot-spam, try looking at CAPTCHA systems (although I hate them!)

  4. #4
    phpasks is offline x10 Sophmore phpasks is an unknown quantity at this point
    Join Date
    Apr 2008
    Posts
    145

    Re: How do I protect my form in php??

    1)
    You can put confirmation code like orkut scrape send to other user, it has not your friend list at that time asking some verification code type in text box submit.


    You can protect to spammers.

    2) Email Verficatin

    You can also Email Verification code send at your email id & activation compelte after that form submit.


    http://www.phpasks.com - once you have register and login this site ..........
    Asif Khalyani
    http://www.phpasks.com

  5. #5
    xmakina's Avatar
    xmakina is offline x10 Lieutenant xmakina is an unknown quantity at this point
    Join Date
    May 2008
    Location
    England
    Posts
    265

    Re: How do I protect my form in php??

    You want a captcha. I'll grant that some websites go really OTT (Rapidshare had one which was impossible, even for a person!) but for the most part they're a good way of stopping bot-spam.

    http://www.white-hat-web-design.co.u...hp-captcha.php <-- Nice tutorial + code.

+ Reply to Thread

Similar Threads

  1. php flash contact form
    By eddbrown in forum Free Hosting
    Replies: 2
    Last Post: 08-18-2008, 06:51 PM
  2. PHP contact form styling (line spacing)
    By xxll_martin_llxx in forum Programming Help
    Replies: 3
    Last Post: 07-24-2008, 10:09 AM
  3. Easy XHTML form validation using PHP
    By Xemnas in forum Tutorials
    Replies: 0
    Last Post: 01-08-2008, 04:29 AM
  4. How to protect images without htaccess using PHP
    By frznmnky in forum Tutorials
    Replies: 0
    Last Post: 12-26-2007, 11:51 AM
  5. A simple Visual Basic Login Form
    By Zenax in forum Tutorials
    Replies: 0
    Last Post: 03-13-2007, 08:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers