Top Anti-Spam Techniques For PHP Websites!

When running a website, it is very important to protect yourself from spammers. If you’re working on a PHP website, there are many ways to do this. Here are the top seven methods to stop spamming on your website.

1. CAPTCHA: You probably already know what CAPTCHA is. Websites often ask you to enter text in order to identify yourself, this is done through CAPTCHA. You need to add the CAPTCHA image and a text input to whatever you’re trying to protect on your website. Continue reading

Advertisements

Learn AngularJS With These 5 Practical Examples

What is AngularJS?

On a high level, AngularJS is a framework that binds your HTML (views) to JavaScript objects (models). When your models change, the page updates automatically. The opposite is also true – a model, associated with a text field, is updated when the content of the field is changed. Angular handles all the glue code, so you don’t have to update HTML manually or listen for events, like you do with jQuery. As a matter of fact, none of the examples here even include jQuery! Continue reading

Simple Laravel CRUD with Resource Controllers

Creating, reading, updating, and deleting resources is used in pretty much every application. Laravel helps make the process easy using resource controllers. Resource Controllers can make life much easier and takes advantage of some cool Laravel routing techniques. Today, we’ll go through the steps necessary to get a fully functioning CRUD application using resource controllers.

For this tutorial, we will go through the process of having an admin panel to create, read, update, and delete (CRUD) a resource. Let’s use posts as our example. We will also make use of Eloquent ORM. Continue reading