Retrieving image files

2003-07-24 Thread Sreesekhar Palaparthy
I used mysql_real_escape_string() method to insert image file into database. Now how do icheck whether it got stored in proper format ?? I used SELECT * INTO OUTFILE F1 FROM IMGTABLE; command , but i'm not able to see the image back in F1. How do i retrieve the image in proper format?? __

Re: Retreiving image files

2003-07-24 Thread Egor Egorov
"Sreesekhar Palaparthy" <[EMAIL PROTECTED]> wrote: > I used mysql_real_escape_string() to insert jpg image file into > database. Now how do i check whether it got stored in proper > format?? I tried to retriev that image file using > > SELECT * INTO OUTFILE FROM IMGTABLE; > > But it says cann

Retreiving image files

2003-07-23 Thread Sreesekhar Palaparthy
I used mysql_real_escape_string() to insert jpg image file into database. Now how do i check whether it got stored in proper format?? I tried to retriev that image file using SELECT * INTO OUTFILE FROM IMGTABLE; But it says cannot open image file as it contains errors. How do i retrieve the i

Re: Image files

2003-07-14 Thread Thomas Spahni
Hi, you have to escape your binary data; check mysql_real_escape_string() function in the manual and the archives. This is a frequently asked question. Thomas Spahni On 14 Jul 2003, Sreesekhar Palaparthy wrote: > Hi, > How do i insert binary data into a BLOB field??? Like , if i > have

Image files

2003-07-13 Thread Sreesekhar Palaparthy
Hi, How do i insert binary data into a BLOB field??? Like , if i have a table with say 3 fields of which 1 is blob type, now how do i store some binary file in that particular field??? Please help me out as i have to look put for some corresponding function in C++ API after that.Thank You

Image files

2003-07-06 Thread Sreesekhar Palaparthy
Hi, I want to save image files into BLOB fields?? How do i do it?? And how to retrieve it back from database?? ___ Click below to experience Sooraj R Barjatya's latest offering 'Main Prem Ki Diwani Hoon' starring Hrithik, Abhi