Re: Storing picture into DB
| From: | Cornelia Boenigk | Date: | Wed, 20 Nov 2002 15:40:24 +0000 |
| Subject: | Re: Storing picture into DB | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-23519@lists.php.net to get a copy of this message | ||
Hi
I do not have any experience with Sybase;-(
If there is a field type available to store strings of unlimited length (or
at least strings of your desired 60K) you could use the PHP functions
base64_encode() to encode your image data and then store it as string in
your table. If you retrieve it use base64_decode() to decode the string.
Hope this helps
Conni