remove Archive

WordPress – Really Simple Captcha Cleanup

I will show you how to cleanup the image files that the Really Simple Captcha plugin creates. The plugin creates security captcha image files inside wp-content/plugins/really-simple-captcha/tmp/ directory. This directory may become very large and full of image files if you don’t remove them or clean them up accordingly. These image files can cause high innode

PHP : Strip filename from a URL

Using PHP, you might need to strip the path from a URL, leaving behind just the filename at the end of the URL. You can achieve this with a regular expression pattern of course, but I have a much simpler solution. See the example code below.