Category Archives: PHP

Clean Variables in PHP

Sep 02, 2014

It’s always important to clean/sanitize variables that are submitted via web forms to prevent against all kinds of different malicious threat. Here is a complete..

Read more

Cleaning Variables in PHP

Jul 04, 2014

It’s always important to clean/sanitize variables that are submitted via web forms to prevent against all kinds of different malicious threat. Here is a complete..

Read more

Block Multiple IP Addresses Using PHP

Jun 03, 2014

Sometimes we need to ban particular visitors to access our website. For this, the most common reason is spammers and scrapers that perform malicious activity..

Read more

5 tips to prevent PHP running out

Apr 12, 2014

Tip 1 (Knowing what parts of your script is using the most memory) If you’re looking to find out where your script is running out..

Read more

How much memory do PHP variables use?

Apr 12, 2014

There are cases when it might be quite important to know how much memory uses each variable in PHP script. The function memory_get_usage returns the..

Read more

Javascript random integer between two numbers

Mar 17, 2014

A very simple and useful method to find a random integer between two numbers.  Found this simple javascript function to calculate random integer between two..

Read more