How to Prevent Image Hotlinking through .htaccess

What is Hotlinking

Hotlinking is the process of displaying an image on a website by linking to the same image on another website. It is mostly occurs with images. In simple words suppose i want to show some gadget picture on my website so instead of uploading the picture on my website, i link this picture to someone website using source as http://someone.com/gadget1.jpg.

How to Prevent Your PHP Script Running Out of Memory

There is good chance you are familiar with this error.

What’s the cause of this error. How you prevent your PHP script running out of memory. Let’s talk about it. In any programming language memory is cleared up by the garbage collector. And garbage collector does this work perfectly. For clearing up the memory, you need to tell the garbage collector that the following allocated memory is ready to free. In PHP this can be done by calling unset().