note 9048 added to Sybase functions
| From: | heumann at s-und-i dot com | Date: | Fri, 13 Oct 2000 05:17:13 +0000 |
| Subject: | note 9048 added to Sybase functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6435@lists.php.net to get a copy of this message | ||
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.
http://www.php.net/manual/ref.sybase.php