-
Original author can be found here: (akniep at rayo dot info) http://www.php.net/manual/en/function.html-entity-decode.php
function utf8_html_entity_decode($string) {
static $trans_tbl;
// replace numeric entities
$string = preg_replace('~([0-9a-f]+);~ei', 'code2utf(hexdec("\\1"))', $string);
$string = preg_replace('~([0-9]+);~e', 'code2utf(\\1)', $string);
// replace...
2007-08-28 08:49:11 UTC in PHP UTF-8
-
Yeah, great! This does solve the problem. Thnx a lot...
However i also had a look at phpthumb::CleanUpCacheDirectory() : it seems like that function doesn't know how to clean up the cache in a directorystructure. Is that right?.
2006-12-22 08:40:03 UTC in phpThumb()
-
our solution:
phpthumb.class.php line 2873
if (!is_readable($this->config_cache_directory.$broad_directories)) @mkdir($this->config_cache_directory.$broad_directories,0777);.
2006-12-21 11:23:24 UTC in phpThumb()
-
Hi there boys and girls,
Setting the configuration parameter $PHPTHUMB_CONFIG['cache_directory_depth'] to a number > 0 disables caching (because the class doesn't create directories when needed? )
Keep up the good work
Sys specs:
- Linux (debian), with a cachedir (777)
- PHP 4.something.
2006-12-21 10:56:17 UTC in phpThumb()