note 61163 rejected from function.id3-get-tag by mazzanet

From: Date: Fri, 27 Jan 2006 10:15:01 +0000
Subject: note 61163 rejected from function.id3-get-tag by mazzanet
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-102544@lists.php.net to get a copy of this message
Note Submitter: mbtaylor182 at hotmail dot com ---- can anyone get this workin with php v5.1.2 on windows i have downloaded and installed the pecl ext and can get the id3_get_version() function to work but id3_get_tag() fails everytime. The error i get is "FATAL: emalloc(): Unable to allocate 1852404086 bytes" now i know that i dont have enough memory to allocate that much but the file is only 3 MB that i'm using. intresting the number of bytes is the same if i use a different test file. <?php //works fine. $version = id3_get_version( 'C:\\1.mp3' ); echo $version; // dont work. $tag = id3_get_tag( 'C:\\1.mp3' ); echo $tag; ?>

« previous php.notes (#102544) next »