richtig ?
ich hoffe richtig: ???
extension=php_zlib.dll
DLL ist im extension Verzeichniss vorhanden.
Bernd
ich hoffe richtig: ???
extension=php_zlib.dll
DLL ist im extension Verzeichniss vorhanden.
Bernd
<?
$cachetimeout=10;
include("jpcache.inc");
phpinfo();
?>
<?
$cachetimeout=100;
include("jpcache.inc");
phpinfo();
?>
$CACHE_TIME=900; // Default: 900 - number seconds to cache
$CACHE_DEBUG=0; // Default: 0 - Turn debugging on/off
$SINGLE_SITE=1; // Default: 1 - No servername in file
$CACHE_ON=1; // Default: 1 - Turn caching on/off
$USE_GZIP=1; // Default: 1 - Whether or not to use GZIP
$CACHE_POST=1; // Default: 1 - Should POST's be cached
define(CACHE_DIR, "/temp"); // Default: /tmp - Default cache directory
define(CACHE_GC, 1); // Default: 1 - Probability of garbage collection (i.e: 1%)
define(VERSION, "1.1.1"); // Version of jpcache
Gesendet: Montag, 28. Jänner 2002 16:49
An: info@jpcache.com; jpcache@weirdpier.com
Betreff: jpcache.php v1.1.1 [2001-06-13] @ WAMP
Hello Jean-Pierre!
Somebody posted an error in connection with jpcache on a WAMP-Installation.
It was the first time that I heard something about jpcache, I didn't know it before.
Warning: fopen("/tmp/jpcache-_php_php_exe:8ea6f84c0c9f2e4f2f5d790c7e3dd439",
"r") - No such file or directory in .... on line 135
So I tried to help him, downloaded jpcache and detected the reason for the error:
Windows doesn't accept digits like : \ / *" < > | within its filename.
In jpcache.inc I changed following statement from
$cache_file="jpcache-" . $cache_file . ":" . $key;
to
$cache_file="jpcache" . $cache_file . "_" . $key;
Since this correction, jpcache works without any error.
I only wanted to let you know this circumstance.
hand
Kommentar