Questions tagged as 'file-upload'

1
answer

Upload image upload blogger

Can you put a box to upload image in blogger that goes straight to my email? You would need to receive some deposit voucher images.     
asked by 17.10.2017 / 13:42
3
answers

Insert multiple php mysql records

I'm developing a car site and when the user makes the registration of the vehicle he has the option of inserting several images of the vehicle. I have the upload code, but I wanted to know how to insert more than one image in the image field of...
asked by 06.07.2017 / 03:57
1
answer

Merge upload and input ajax

I have this form: <form id="formForum" autocomplete="off"> <div class="boxContent"> <div class="form" style="margin-top: 0"> <div class="profile" style="background-image: url('painel/upl...
asked by 03.06.2017 / 05:55
1
answer

The html is not sending the images to the server

I have the following modal: <!-- MODAL PARA CADASTRO DE TAMANHOS --> <div class='modal fade' id='modalTamanho' tabindex='-1' role='dialog' aria-labelledby='myModal'> <div class='modal-dialog' role='document'>...
asked by 15.02.2017 / 18:30
1
answer

Upload does not reach PHP via AJAX with .serialize () function [duplicate]

I'm implementing a posting system on my future site where it requires uploading images. However when requesting with AJAX the PHP script returns an error stating that the "img-post" name of the $_FILES variable is missing. So I checked...
asked by 08.01.2017 / 19:01
1
answer

Upload .txt for MySQL database

Hello, I would like to upload a file .txt that meets the layout as follows (follow the example of two lines of the file): 9787546;488464;2016-12-11;Carlos Fonseca;carlos.fonseca 9787547;464664;2016-12-11;Rogério Barros;rogerio.barros...
asked by 27.12.2016 / 13:14
1
answer

How to retrieve the new name of a file in an automatic "Drag and Drop" upload

I found a system of upload of images Drag and Drop on the internet that makes upload of the image in a specific folder and renames the file with a random name without having to send the form. Why can not I retrieve the...
asked by 06.10.2016 / 21:35
1
answer

Error with getimagesize when uploading photo

I'm trying to mount a system that checks the mime type of the image when uploading. But it is giving an error. Follow the code: <?php $action = addslashes(filter_input(INPUT_GET, 'action',FILTER_SANITIZE_SPECIAL_CHARS)); if ((!empty...
asked by 21.10.2016 / 13:25
1
answer

Send multiple images via Curl

Hello, I need to send via multiple Curl images, which will be received in an API, only in the API it receives in a specific way, in which I am not able to send through the Curl. Here's how the API receives the image: foreach ($_FILES as $file)...
asked by 30.06.2016 / 18:50
1
answer

Prevent duplication in DB due to FOR loop

I'm creating a multiple image upload system. The "move_uploaded_file" function works fine. The problem is that I included a $ grav insert for the DB, and as it can be seen in the code, it would only be sent if the IF conditions of the images wer...
asked by 06.04.2016 / 04:36