ID: 42870 Updated by: [EMAIL PROTECTED] Reported By: marian at devourmedia dot com Status: Open Bug Type: GetImageSize related Operating System: Fedora PHP Version: 5.2.4 Assigned To: scottmac New Comment:
There is currently no support for icons, but the format is near identical to BMP. Previous Comments: ------------------------------------------------------------------------ [2007-10-05 16:38:41] marian at devourmedia dot com Description: ------------ PHP code should return information about the .ico file. Reproduce code: --------------- $fpath="/tmp/test.ico"; $buffer=file_get_contents('http://www.favicon.com/favicon.ico'); file_put_contents($fpath,$buffer); $result=getimagesize($fpath); if(is_bool($result)) echo "Boolean result: "; if(is_string($result)) echo "String result: "; if(is_numeric($result)) echo "Numeric result: "; if(is_array($result)) echo "Array result: "; echo "'"; print_r($result); echo "'"; Expected result: ---------------- Instead of returning "Array result: " and the values, it is returning "Boolean result:" Actual result: -------------- It is returning Boolean result which is false. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42870&edit=1