note 9048 deleted from ref.sybase by felipe

From: Date: Tue, 22 Jul 2008 19:07:19 +0000
Subject: note 9048 deleted from ref.sybase by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142549@lists.php.net to get a copy of this message
Note Submitter: heumann at s-und-i dot com ---- This should make the image/blob subject rather complete: PHP 3 seems to have a bug with image columns in sybase. Apache gets a segmentation fault when trying to retrieve an image column with more than a certain amount of characters (even when using set textsize). The work around is to use text columns instead. They have the same capacity, only you need to convert the data to ASCII (e.g. Hex, see examples in earlier contributions, bin2hex). Remember to put the data in quotes, too, when INSERTing.

« previous php.notes (#142549) next »