#38560 [Asn]: imagejpeg doesn't output image when '' provided as filename

From: Date: Wed, 23 Aug 2006 09:52:18 +0000
Subject: #38560 [Asn]: imagejpeg doesn't output image when '' provided as filename
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-101164@lists.php.net to get a copy of this message
ID: 38560 User updated by: doques at gmail dot com Reported By: doques at gmail dot com Status: Assigned Bug Type: GD related PHP Version: ? Assigned To: pajoye New Comment: this is a doc problem. It must state that some versions of PHP (e.g. prior to 4.3.9 or else) has a bug that doesn't allow to enter empty string. Previous Comments: ------------------------------------------------------------------------ [2006-08-23 09:38:31] derick@php.net Not a doc problem, so changing category to "GD related". ------------------------------------------------------------------------ [2006-08-23 09:38:26] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip Can't reproduce it. ------------------------------------------------------------------------ [2006-08-23 08:52:07] doques at gmail dot com Description: ------------ imagejpeg doesn't output image when '' provided as filename. PHP warning is printed instead: * warning: imagejpeg(): Invalid filename '' in /var/www/html/htdocs/image.inc on line 310. Documentation states that empty string can be provided and image will be outputed to standart buffer. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38560&edit=1

« previous php.bugs (#101164) next »