Questions tagged as 'upload'

4
answers

Upload file with AJAX

I would like to know if there is any simple way to upload files via AJAX + JSON. If there is one, what would it be?     
asked by 18.03.2014 / 18:55
3
answers

How do I get the value of the current percentage of an upload?

I'm working with PHP , but I imagine this can only be done with javascript/jQuery . When I upload the browser shows the percentage in the status bar. I'd like to take this value and create a custom progress bar from it. The bar I...
asked by 19.12.2013 / 16:42
4
answers

Is there a Site / API for hosting photos on the web?

I wonder if there are any APIs that allow you to host photos on the web. Example: cloud.push(arquivo, callback, fail); I'm going to use this API to enable users to host images for profile photo, etc. (I currently do this using base64, bu...
asked by 25.02.2014 / 02:50
2
answers

Is there a REST specification for uploading files?

I have a question almost a month on the subject. At certain point in my application, the user can upload to a library of files. This upload needs to be logged in a table named midias , where, in addition to the file path, I also need ex...
asked by 22.10.2018 / 16:15
1
answer

Error sending Upload with Ajax

I'm trying to upload a file via Upload to a certain folder but I'm not able to make or understand the error being accused by the script, I'll try to be as clear as possible in describing the problem. Here is the excerpt from Upload Upload: //...
asked by 28.07.2015 / 15:16
3
answers

How to crop an image to the center when uploading the same

In the project here I want to display the images in a square-sized dynamic div where its maximum size is 240 x 240. Assuming a user uploads an image with a rectangular dimension (eg 500 x 280), that same div becomes "disfigured" since its hei...
asked by 31.08.2014 / 03:42
5
answers

Save in the database the binary content of an image

How do I get the bytecode of an image at upload time to be able to store it in the mysql blob field without the need to save the image to ftp?     
asked by 04.12.2014 / 15:50
2
answers

Uploading Images

I'm trying to upload images to my application. I did a prototype of upload, only it does not show the image, but the ID or NAME of it. And I'm uploading to a folder I've created in my project. My questions are: How do I show this image?...
asked by 29.04.2014 / 15:27
1
answer

Has anyone ever been able to use jQuery File Upload?

I refer to this link link. The documentation is very vague. I already changed the "action" of the "form" but without success. Html5 form: <form id="fileupload" action="bloco_img_upload.php" method="POST" enctype="multipart/form-data">...
asked by 22.04.2014 / 17:43
6
answers

Upload files (always in different folders)

I would like to know if it is possible (and how could I do) to create an upload system where whenever I upload a file, it goes to a different folder (always), and shows me he begat. Is it possible to do this? Reason : I always generate PDF p...
asked by 31.01.2014 / 11:50