Search
New Code
Anti-Spam Techniques In PHP - Part 2 1.0
Anti-Spam Techniques In PHP Part 1
Get Country By IP Address in PHP 1.0
Compress multiple CSS files 1.0
Protecting PHP Scripts with HTTP Authorization
Dealing with special characters 1.0
Crypt and User Validation
.htaccess Password Protection
Top Code
Anti-Spam Techniques In PHP Part 1
Anti-Spam Techniques In PHP - Part 2 1.0
Crypt and User Validation
Dealing with special characters 1.0
Compress multiple CSS files 1.0
Get Country By IP Address in PHP 1.0
.htaccess Password Protection
Protecting PHP Scripts with HTTP Authorization
PHP > Tips and Tutorials > Security

Code 1-8 of 8   






This short series of articles provides a few simple techniques for protecting yourself and your web site from spammers. This is the second article in the series, and covers the issue of protecting your web site from spammers. In this article we cover a number of ways of overcoming spammers, including:

1. CAPTCHA
2. Manual approval (moderation)
3. Text filters (blocking URLs)
4. Email Validation.



The issue here is that if you publish your email address on a web site, there's a good chance it will be harvested to be used by spammers. Many of these harvesting tools are crude and poorly written so it can be easy to protect yourself from...



This simple function allows you to getect a country code and city of your site visitors, using the geoplugin.net service. You may use this data to add default values in registration form or use it for any other purposes, like blocking access to...



Usually when you're using different CSS files on your site, they might take a quite long to be loaded. Using this PHP code, you can compress them into a single file with no unnecessary white spaces or comments. Why we need to compress multiple CSS...



This is a tutorial with which you will be taught to protect the PHP scripts on your website with the HTTP authorization. It also discusses about the method of using PHP to verify a username and password pair sent by the user. The source code is...



This tutorial will teach you how to deal with special characters like HTML tags, white space etc. from a user submitted form and database output.



This tutorial lets you know about the basic concepts of crypting in PHP and how to use it on your website. The programs are explained with demonstrations so that anyone can understand them with minimal effort and use them in developing their...



This tutorial guides you to protect your files by assigning password. From this tutorial you can provide security to your files without using MySQL database. The security is provided by splitting the code into three "if else" functions....