I don't know if you will be criticised Nick, but your post #676 saved me the trouble of deleting thousands (literally) entries from the cache folder every day.
I'm using character set ISO-8859-7 (Greek) and accidentally found that there were about 25000 error logs in my cache folder created within less than 10 days from installing IH3. Your reply prompted me to risk and try in a test environment and it worked with two small variations. I replaced line 690 from:
Code:
$alt = addslashes(htmlentities($alt, ENT_COMPAT, CHARSET));
to
Code:
$alt = addslashes(str_replace('"','\'',$alt));
after I restored the missing semi-colon at the end and replaced the empty string with a single quote. So, alt tags with double quotes became alt tags with single quotes and the logs are not produced any more. For some reason, the script also changes the title tag.
Many, many, many thanks for your idea and wishes for a nice Christmas and a happy New Year.
Bookmarks