how to save uploaded image in database using javascript
Please can you tell me how to store uploaded image in database using java I'll use the upload code as
extArray = new Array(".gif", ".jpg", ".png");
function LimitAttach(form, file) {
allowSubmit = false;
if (!file) return;
while (file.indexOf("\") != -1)
file = file.slice(file.indexOf("\") + 1);
ext = file.slice(file.indexOf(".")).toLowerCase();
for (var i = 0; i < extArray.length; i++) {
if (extArray[i] == ext) { allowSubmit = true; break; }
}
if (allowSubmit) form.submit();
else
alert("Please only upload files that end in types: "
+ (extArray.join(" ")) + "\nPlease select a new "
+ "file to upload and submit again.");
}
// End -->
Now i want to store it on database...
Please help me
Thanks in Advance
View Answers
Ads
Related Tutorials/Questions & Answers:
Insert image from user using and save in database
Insert
image from user
using and
save in database when i am trying to upload a
image from user and trying to
save into oracle9i
database....
dear sir or madam,
i wont to
How to Store
Image Into The
Database
Advertisements
How to save image on the server by applet
How to
save image on the server by applet HI, in my project I am
using applet and creating a chart by jcchart. Now when the chart has ploated... as a gif
image on the server directory. Can any Body help me
how can I do it
Thanks
How to save image on the server by applet
How to
save image on the server by applet HI, in my project I am
using applet and creating a chart by jcchart. Now when the chart has ploated... as a gif
image on the server directory. Can any Body help me
how can I do it
Thanks
pre view of image uploaded
pre view of
image uploaded I am uploading a file through in html form. I want to display preview of that
uploaded image in the same form
using java script only.. and I want to insert that
image into oracle
database
I don't want
pre view of image uploaded
pre view of
image uploaded I am uploading a file through input in html form. I want to display preview of that
uploaded image in the same form
using java script only.. and I want to insert that
image into oracle
database
I
pre view of image uploaded
pre view of
image uploaded I am uploading a file through input type="file" in html form. I want to display preview of that
uploaded image in the same form
using java script only.. and I want to insert that
image into oracle
How to store image into database
How to store
image into database Hi, all I want to store
image into
database using Java. Can anyone help me that
how can i store
image into
database... through the following link
How To Store
Image Into MySQL
Using Java
How to save image after edit in php
How to
save image after edit in php Hello,
I have create a simple
image editor with the effected of brightness, contrast, and desaturat etc. I have... successfully but i don't know
how to replace orignal
image with the effects. please
How to store an image in database
How to store an
image in database Hi...........
How to store an
image in postgresql
using a query. I mean tell me the way to store an
image using datatype.
I am
using the datatype bytea but tell me
how to insert the
image