Questions tagged as 'upload'

1
answer

Exception when sending Multipart file from controller AngularJS on server Spring Boot

I'm having trouble sending client side files (images, pdfs) to the server side of my app. Whenever I try to send a file, Spring gives me this exception: status:"Bad Request" exception:"org.springframework.web.multipart.support.MissingServle...
asked by 12.10.2016 / 20:17
0
answers

Uploading 12 document fields in PHP

I'm doing 12 uploads on one page and I'm using an donkey code, as I'm repeating myself. But I do not know how to loop. But this is not the problem. The case is that it is only working for the first four fields, whether empty or not. Here...
asked by 01.10.2016 / 17:02
1
answer

Write value of a combobox when uploading files?

Good afternoon. I started this week in a PHP development company. I need to include a combobox on a page that uploads files. The upload already works and has been used. ** I would like help to save the selected value in the combobox in the sa...
asked by 07.07.2016 / 22:27
1
answer

JQuery does not display image prewier

Good evening, I'm trying to make an image prewier in a file field with multiple uploads. html <!doctype html> <html> <head> <meta charset="utf-8"> <title>Upload Ajax</title> <script type="text/javascr...
asked by 04.04.2016 / 00:06
0
answers

Is it possible to save an image with the Imagine PHP library without compiling the size of it?

I'm using the Imagine PHP library to upload and render images and when I'm going to upload images of the .GIF type it does this normally keeping the dimensions of the original image but it does the size compression of it, so the .GIF image loses...
asked by 29.02.2016 / 21:00
0
answers

File not found while giving submit

I have an HTML form: <link rel="stylesheet" type="text/css" href="script/overlay-div/css/overlay-div.css"> <link rel="stylesheet" type="text/css" href="style/bootstrap.css"> <link rel="stylesheet" type="text/css" href="script/jq...
asked by 20.01.2016 / 20:12
0
answers

How to upload files to my server using Java servlets

How to upload files to my server using Java servlets, and after uploading the file return the url in which the file is located, where the name originates from the date and time the file was sent so it does not act replicates of names, would anyo...
asked by 29.01.2016 / 13:39
1
answer

Array to string conversion, Laravel Validation

I have the following code: HTML: <form method="POST" enctype="multipart/form-data" action="/admin/dashboard/category/{{$action}}"> ... <fieldset class="form-group"> <label for="image">Imagem</label>...
asked by 26.12.2015 / 19:35
1
answer

Image is being uploaded without extension

I put a PHP code to upload images, the images are not being saved in the directory with the code below: $post_id = $db->insert($query); $ext = explode('.', $_FILES['img']['name']); $path = "../content/img/".$post_id.".".$ext[count($ext)]-1;...
asked by 19.09.2015 / 20:08
0
answers

PHP file upload that passes data to MYSQL

It will be difficult to explain what I want but I will try to summarize it in 2 small paragraphs. Come on I have a script that passes data from file .CSV and .TXT to database MYSQL , but it only works when I put the...
asked by 28.03.2016 / 15:09