try another color scheme:


Go Back   TECH6.0 > Get Techie > Programming > Databases


Database using javascript

This is a discussion on Database using javascript within the Databases section, part of the Programming category; Please can you tell me how to store uploaded image in database using java I'll use the upload code as ...

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 17-08-2011, 11:35 AM
No Avatar
rachard1583

Guest
 
Posts: n/a
Default 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? any help
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes




All times are GMT +5.5. The time now is 10:03 AM.

Contact Us - Tech6.com - Link to Us - Advertise - Submit Site - Privacy Statement - TOS - Top