I spent some time trying to figure out why this wonderful script worked perfectly on one site I manage, and not at all on another. After enabling all errors and warnings, I googled the error to discover that this usally meant a function was being declared as private, which is not supported in php ver. 4.x Sure enough, this web host was still running 4.9!
Hope I save someone some precious time.
Cheers!
Your Answer