Is it possible to do a drag and drop image with php to upload pictures to database?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you use a front end library (Javascript) to catch the event of dropping the object into the page, and then submitting it via an Ajax request – yes it is possible. The other (uglier) route is to have a Java applet that does it (still through ajax).
I wouldnt store the images in the database though. Store them in a filesystem with the path specifics stored in the DB.