News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Script-Tutorials.com:
How to Protect any Site from Spam using Akismet
May 30, 2011 @ 08:10:59

From Script-Tutorials.com there's a new post that wants to help you prevent one of the biggest menaces of the social online world - spam. Their solution uses the Akismet service to detect possible spam and notify you.

What is spam? - this is (usually) any message which not relevant to this page - usually just an advertisement of something (and even with a backward link to another site). Yes, you can put the first line of defense - a captcha, but I think spammers are also ready for this and find ways to avoid the CAPTCHA (or, they even can solve its by self). In today's tutorial I'll show you how to create a second line of defense against spam - using web services - for example akismet.

They include all the code you'll need to create a simple interface to the Akismet system with the help of this library that handles a lot of the connection and messaging for you. They apply it to a comment form and check the POSTed values against the Akismet spam checking. You can download the full package to get started immediately.

0 comments voice your opinion now!
spam protect akismet tutorial


Chris Jones' Blog:
Malicious website use will never go away how do you manage it?
April 28, 2011 @ 11:06:43

Chris Jones has a new post to his OTN blog today pointing to two new articles by Eli White about managing malicious website use:

The techniques Eli covers will always be applicable in one form or another. They should be a fundamental part of any website architect's bag of tricks.

The first article focuses more on methods for preventing and dealing with the inevitable spamming that comes with running a larger site. Eli's experience at Digg has provided him with recommendations like creating hurdles for spammers to get past and evaluating the content (services like Defensio or Akismet are useful for this).

The second article talks about something a bit harder to deal with - when users "game the system" and find the loopholes. His recommendations to combat this sort of abuse include rate limiting, pattern matching and leaving "traps" by tracking user usage.

0 comments voice your opinion now!
malicious usage user manage recommendation spam gaming


RooJs.com:
How to spam in PHP..
April 11, 2011 @ 10:20:41

On RooJs.com there's a recent post from Alan Knowles looking at how to spam in PHP. No, nothing malicious - it's more about scalability in sending emails from PHP applications.

The reason this has been relivant in the last two weeks is two fold, first off, my slow and sometimes painfull Pman.Core and Pman.Base). It seemed like an ideal time to write some generic code that can solve both issues.

He mentions the usual method of generating numerous emails and sending them to a remote SMTP server, but points out that there's a better way. You can take advantage of queuing and batch sending techniques and, the way he decided to do it for mtrack, using queue tables and a backend runner (a cron job) that uses proc_open to send out multiple emails at once. You can see the code for it here.

0 comments voice your opinion now!
spam email send smtp process procopen mtrack


DevShed.com:
Asirra Captcha PHP Integration
July 29, 2010 @ 10:36:28

On DevShed.com today there's a new tutorial about implementing the Asirra CAPTCHA system (from Microsoft) into your application for spam prevention.

Unlike other types of captcha that utilize difficult text obfuscation techniques (such as Google reCaptcha), this system utilizes images of dogs and cats, such as those shown in this screenshot.

They describe some of the reasons to use the system (hard to break, doesn't use sessions, easy to integrate) and how it works. They show how to implement the system on both the server and client side.

0 comments voice your opinion now!
asirra captcha tutorial integrate spam


Robert Basic's Blog:
Honeypot for Zend Framework
April 21, 2010 @ 14:58:36

Robert Basic has posted a port of a WordPress plugin that helps you easily make a "honeypot" in your Zend Framework form to help keep the spam bots out.

I just hacked up a little code snippet based on Matthew's Honeypot Wordpress plugin. It's basically just a Validator for a Zend Form element which is hidden from the user via CSS. Cause it's hidden, users won't see it, but spambots will, well, cause they are bots.

The code snippet is included in the post for your cut & pasting pleasure and makes using it as easy as a normal "addElement" call when building your form.

0 comments voice your opinion now!
honeypot zendframework zendform form spam


Web Development Blog:
E-mail links, protective solutions against SPAM
February 17, 2010 @ 08:28:55

In a recent post to the Web Development Blog they talks a look at some methods you can use on your site to help reduce the amount of spam sent to email addresses by protecting them from scripts that might harvest them right from the page.

There are lots of spam bots checking the Internet for email addresses on regular websites, forums, blog and mailing lists. Once caught by some spam bot your mailbox is in need of a strong spam filter or sometimes it might be better to use a new e-mail address. In this article we show you different ways, how you're able to show your e-mail address to human visitors and hide it for spam bots.

They give four solutions, some a bit more practical than others - using an image instead of the text-only version of the address, hiding the @ symbol, hiding it with PHP (converting it to ASCII) and using Javascript to handle it similarly.

0 comments voice your opinion now!
email spam suggestion protection tutorial


CatsWhoCode.com:
Top 10 ways to stop spam in WordPress
September 03, 2009 @ 09:11:57

In a recent post to the CatsWhoCode.com site Alex Denning takes a look at ten ways you can help stop those dreaded comment spammers on your WordPress blog.

Spam is a nuisance, and as bloggers, we have all experienced a flood of spam every now and then. Not only is it a pain, but it can slow down your blog and use up your resources. In this post we'll look at ten ways to combat spam.

Here's his list of suggestions - some can be combined with others to give you additional protection:

  • Install Akismet
  • reCAPTCHA
  • Ask your readers to do 1+1
  • Stop spam trackbacks
  • Make users login to comment
  • Ban spammers by IP
  • Ban spammers by IP, on a massive scale
  • Deny comment posting to no referrer requests
  • Stop content theives
  • Stop spammers stealing your images
0 comments voice your opinion now!
wordpress spam prevent


ITNewb.com:
Building a Spam Free Contact Form without Captchas
August 12, 2009 @ 08:14:53

New on the ITNewb.com site today there's a tutorial looking at making your forms a bit more "spam free" without resorting to CAPTCHA images.

Most anti-spam methods used by websites today are annoying at best. They use impossible-to-read captcha images, or they make users jump through some kind of hoop to get the email address instead of just clicking on it. This can mean lost sales and opportunities for you, because each hurdle turns away more users.

The trick uses some CSS and Javascript to hide a form field (display:none) and check on the submit to ensure that it's empty. The email address is the output of a Javascript document.write() as well, preventing those pulling the information off of your site without Javascript support (like some automated tools) to miss it completely.

0 comments voice your opinion now!
spam form protect tutorial contact


Zend Developer Zone:
Zend_Service_Mollom
December 09, 2008 @ 09:32:05

A new post on the Zend Developer Zone looks at a component recently introduced into the Zend Framework to help with comment spam (and no, its not Akismet) - an interface to Mollom.

If you run a blog that accepts comments, you're probably familiar with comment spam. You could manually verify all comments, but that gets cumbersome after some time. A better solution is using an automatic scanner to verify comments. Like Mollom. Mollom checks your comments and provides CAPTCHAs if it's not 100% sure (about 2% of all comments).

The component is up to version 1.1.0 now and you can learn more about it (and find some downloads) on this page.

0 comments voice your opinion now!
zendservicemollum captcha comment spam detect


NETTUTS.com:
The Best Ways to Fight Spam
October 06, 2008 @ 09:30:28

Spam is a constant burden for anyone on the web, be it through email or via something like comments on a website. The NETTUTS site can't help so much with the first one, but they've come up with a new tutorial that can help with the second with a few methods.

Deciding on the best method of spam prevention on your blogs, forums, or even contact forms can be difficult. In this article we will take a look at a service called Akismet and how it can help. We will also look at why some other methods of fighting spam fail.

They give a few ways to waylay the spammers including:

  • Disallowing multiple consecutive submissions
  • Keyword Blacklist
  • CAPTCHA
  • and a service called Akismet

They go into a bit more detail on this last one, even going so far as to included code (this class) and examples of how to let the Akismet service see if something is spam or not. Links to libraries for other languages are included too.

0 comments voice your opinion now!
fight spam captcha consecutive keyword blacklist akismet tutorial



Community Events





Don't see your event here?
Let us know!


application threedevsandamaybe release code podcast series bugfix laravel symfony community library developer introduction install configure language list api wordpress interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework