georgepatotk
Contributor
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...
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...