Fatal error: Call to undefined function: key() in /var/www/explorer/test.php on line 18
When it's listed right here: http://www.php.net/manual/en/function.key.php I was playing with the library from: http://phpconcept.free.fr/pclzip/index.en.php This is the code: ---------------------------------------------------------------------------------------- <?php include ("pclzip.lib.php"); $zip = new PclZip("test.zip"); $list = array(); $list = $zip->listContent(); //print_r($list); for ($i = 0 ; $i <= count($list); $i++) { for ( reset($list[$i]); $keyloc = key($list[$i]); next($list[$i]) ) { echo "File $i / [$keyloc] = " . $list[$i][$keyloc] . "<br>"; } echo "<BR>"; } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php