PHP expert |
|
ik heb dit:
<?
if( mime_content_type( $mYdir . $value ) == ( 'application/zip zip' || 'application/x-bzip2 bz2' || 'application/x-gzip gz tgz' ) ) {
$c .= '<a href=\'?module=unzip&file=' . base64_encode( $mYdir . $value ) . '\'>';
$c .= '<img src=\'images/unzip.png\' border=\'0\'>';
$c .= '</a>';
} else {
$c .= '<img src=\'images/unzip.png\' border=\'0\'>';
}
?>
<? if( mime_content_type( $mYdir . $value ) == ( 'application/zip zip' || 'application/x-bzip2 bz2' || 'application/x-gzip gz tgz' ) ) { $c .= '<a href=\'?module=unzip&file=' . base64_encode( $mYdir . $value ) . '\'>'; $c .= '<img src=\'images/unzip.png\' border=\'0\'>'; $c .= '</a>'; } else { $c .= '<img src=\'images/unzip.png\' border=\'0\'>'; } ?>
nu geeft hij deze error:
Citaat: Fatal error: Call to undefined function mime_content_type() in C:wampwwwocemodulesexplorer.php on line 125
moet ik daarvoor een speciale module installeren
bedankt, stijn
|