note 61163 added to function.id3-get-tag

From: Date: Fri, 27 Jan 2006 03:12:31 +0000
Subject: note 61163 added to function.id3-get-tag
Groups: php.notes 
Request: Send a blank email to php-notes+get-102526@lists.php.net to get a copy of this message
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; ?> ---- Server IP: 85.116.0.130 Probable Submitter: 62.30.38.119 ---- Manual Page -- http://www.php.net/manual/en/function.id3-get-tag.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+61163 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61163&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61163&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61163&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61163&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61163&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61163&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61163&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+61163&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#102526) next »