Date: 05/29/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #4351 Updated: Informix LVARCHAR fields returned from ifx_fetch_row() are too long"
- Previous message: Donncha O Caoimh: "[PHP-DEV] while (true) looping problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 4597
Updated by: thies
Reported By: ralph <email protected>
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
ok, ther problem is that fwrite is a bufferd call, so by the time you call GetImageSize the file is not yet
written to disk. as there is no fflush() call in PHP 4 (yet) you have 2 options.
call set_file_buffer($fd,0); to disable libc buffering on that file
-or- (preferred)
close the file *before* you call GetImageSize, that way you're guranteed that the file is written to disk!
Full Bug description available at: http://bugs.php.net/version4/?id=4597
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #4351 Updated: Informix LVARCHAR fields returned from ifx_fetch_row() are too long"
- Previous message: Donncha O Caoimh: "[PHP-DEV] while (true) looping problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

