SQL image type

houssam_ballout

New Member
Hello all,
I am trying to saving an image to the database through a normal HTTP form,
I used the select image from menu,
but the result was
�(D�v��� X��o�r�EX�r������� �`�xd�t���N&�n�ic&�G�w�''��X$�Ll �|„h���|���ҡ�$�Т�`�  E�����YA��lJh�'N�jw��Yj +��+���]`�����,�Ax3J��]*��c��(m��w��.��<����� �a�D�"`/�&���!Dǭ|`�y��@� �Ú����K��#���� k���Br �BJ��mհ ~�A%2�����{��S��-3���C��Φf�n���A9�� ���s֔[~9�q����kjVC����N�= n�DH�N���?�#�e*��\����ݩOֻJ��f`}�,2����/�����H��:�n;׸���l

any help?
Thanks
 
are you sure you can save image to database... i think you should upload the image somewhere and to database save just to adress, where the image is
 
need a bit more detail,
what RDBMS
how are you uploading? whats the query
how ar you downloading, whats the query you are using
how are you displaying the image, whats your html command
 
You can save images to database, although I would also just save them to disk and reference the location.

It looks like when you are trying to view the image you are writing the data out as ascii insead of binary. It may be a bug in the software or in your code if that is how you are viewing it.
 
Back
Top