georgepatotk Posted May 17, 2005 Posted May 17, 2005 I am trying to do a simple function where I could display image file directly from MYSQL server. The flow of the function would be as below: 1. Select a file using FileField 2. Store the selected file into DB (LongBlob data type) when user wish to view, 3. Read the stored file from Databases 4. Display the file/image directly from the databases without storing a temporarily file in the web server. Please guide me.. thanks... Quote George C.K. Low
HJB417 Posted May 17, 2005 Posted May 17, 2005 you need to create a http handler that will write the binary data to the response stream. Quote
georgepatotk Posted May 18, 2005 Author Posted May 18, 2005 do you mind to show me an example on doing this? thanks.. Quote George C.K. Low
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.