Story of Matter and Consciousness

Today I want to tell you all a story. It’s about you, about me, about everything else. It’s about matter and consciousness. I want you to think about something small. When we think what the human body is made up of, finally we end up with atoms of some of the basic elements. Hydrogen andMore

PHP Delete multiple files if name contains..

I wanted to delete thousands of thumbnails mixed with original images using php. There were no easy solutions available in Windows without extra tools. (Dint want command solution either) Here is the script i used to delete multiple files with names containing “word” in them. Note: We need a php server to run this script.

Adding Multiple Hosts in WAMP

Today I was working with my local server and came across a unique situation. I had thousands of WordPress autogenerated images and thumbnails in a local drive. The size was huge. I had to delete only thumbnails with names of special patterns and Windows didn’t give me an option to do that. Quickly I cameMore