ComputerForum.com ComputerForum.com  
Go Back   Computer Forum > Computer Software > General Software

Reply
 
LinkBack Thread Tools Display Modes
Old 06-15-2007, 11:14 AM   #1 (permalink)
Diamond Member
 
Join Date: May 2005
Location: here
Age: 22
Posts: 1,027
Default SQL image type

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
__________________
TechNoloGy ConTrols tHe World
AnD I conTroL the TecHnOl0gy
Gue$s WhO @m i.
HehEhehee :confused:
houssam_ballout is offline   Reply With Quote


Old 06-15-2007, 11:55 AM   #2 (permalink)
Bronze Member
 
Runn3r.cze's Avatar
 
Join Date: Jun 2007
Location: czech republic
Age: 19
Posts: 66
Default

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
__________________
the best -->> Runn3r.cze <<-- the best
(\__/)
(='.'=)
(")_(") This is Bunny. Copy Bunny into your signature to help him on his way to world domination !
Runn3r.cze is offline   Reply With Quote
Old 06-15-2007, 12:09 PM   #3 (permalink)
Administrator
 
apj101's Avatar
 
Join Date: Apr 2005
Location: London
Age: 26
Posts: 9,234
Default

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
__________________
What did one snow man say to the other?
can you smell carrot?

The fight is won or lost far away from witnesses - behind the lines, in the gym, and out there on the road, long before I dance under those lights.

How you do anything, is how you do everything!
apj101 is offline   Reply With Quote
Old 06-15-2007, 01:38 PM   #4 (permalink)
Moderator
 
Cromewell's Avatar
 
Join Date: Dec 2004
Location: Canada
Age: 25
Posts: 10,364
Default

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.
__________________

You know what the chain of command is? It's the chain I go get and beat you with 'til ya understand who's in ruttin' command here.

www.userfriendly.org
Cromewell is offline   Reply With Quote
Old 06-15-2007, 03:11 PM   #5 (permalink)
Administrator
 
apj101's Avatar
 
Join Date: Apr 2005
Location: London
Age: 26
Posts: 9,234
Default

Quote:
You can save images to database, although I would also just save them to disk and reference the location.
that would have been my suggestion too
__________________
What did one snow man say to the other?
can you smell carrot?

The fight is won or lost far away from witnesses - behind the lines, in the gym, and out there on the road, long before I dance under those lights.

How you do anything, is how you do everything!
apj101 is offline   Reply With Quote


Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
What type of pcmcia slot does my laptop use? Froboy7391_99 Laptop and Smartphones 2 12-10-2006 07:12 AM
My scholarship is sending me a new laptop Sirius_GTO Laptop and Smartphones 17 11-16-2006 10:43 PM
New Windows Exploit Can Unleash Viruses By Viewing Images Drastik General Computer Chat 7 03-18-2006 09:59 PM
embedded sql with C help..segmentation fault? loserpunkx182 General Software 0 12-08-2004 02:00 AM
Think CPU is working underclocked javierg86 CPUs and Overclocking 10 10-06-2004 07:53 PM

All times are GMT +1. The time now is 04:48 PM.


Powered by: vBulletin Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright © 2002-2008 Computer Forum and Web Design Forum