Prevent CSRF-attacks in your PHP files using tokens

If you do not know how a CSRF-attack work, read here This is a simple class for taking care of generating and validating the tokens.

Let’s say that you have login.php in which a form with two text fields… Continue Reading

Generating Bootstrap 3’s carousel made easy with PHP

1.Just link Bootstrap 3’s css & js files. 2.In your PHP file just.

3.To create the carousel…

The code can be found on github