Questions tagged as 'file-upload'

1
answer

Configure KCFinder on TinyMCE

Hello, I'm using TinyMCE as a text field and I need to be able to upload images to it, and for that I am using KCFinder, but the problem is that when I click to upload images, it only a blank box appears: it follows TinyMCE initialization code (N...
asked by 04.08.2016 / 16:32
0
answers

How do I make a download on a web page having the files on my computer, outside of my web project? [closed]

I need to make a web application that the user uploads PDF files and can download them later. The upload part is done, except the files in a folder of my PC /home/william/web . To save the files to my PC, I edited the file server.xml...
asked by 07.11.2015 / 22:14
2
answers

How to check the format and type of a text file?

I have an input file in which I have limited to only accept file whose format is a text file, with extension .txt . I used the accept attribute for this, see: accept=".txt" However, I would like to know if it is possible t...
asked by 25.01.2018 / 21:48
3
answers

Problems uploading images in PHP

I never moved with uploading files and today I really need to do so. I have a code to test, and then use it on the site. Here I have HTML : <html> <body> <form action="inserir.php" method="POST" enctype="multipart/fo...
asked by 10.07.2015 / 13:11
1
answer

php does not recognize the file field

So I'm working on a support system where it has a form for the user to send the message where he selects the area, type the title the message and also one for sending files if necessary the problem is that PHP does not recognizes the <input...
asked by 01.04.2015 / 17:02
1
answer

Problem trying to upload files using firstfaces 4.0

I have a simple application that allows me to upload text files. To do these uploads, I'm using the File Upload of Primefaces, but I'm having problems. I've tried several solutions and I can not fix this problem. This application is made on t...
asked by 03.04.2014 / 14:30
2
answers

Preview image before uploading + ImageResizing.net

In a few minutes looking for a way to show an preview of an image before uploading it, I found the great solution: $("##ID DO INPUT FILE##").change(function (event) { var reader = new FileReader(); $(reader).load(function (event) {...
asked by 04.04.2014 / 20:49
2
answers

Uploading files with Java

Good morning! I was trying to upload files, where I have a webpage that makes a request for my servlet. In the form of the page I have an input of type file and another one of type text. The coding mode of this form is as "multipart / form-data"...
asked by 31.01.2018 / 11:10
1
answer

PHP and Javascript - Hosting and opening files in other formats besides PDF

I created a way to host presence list files in events on my client's website. Here is the code: <b>Arquivo da lista de presença (PDF):</b> <?php if($evento['arquivo'] == '1'){ echo '<a href="http://meusite.com.br/upload/w...
asked by 09.12.2016 / 18:39
1
answer

Problem upload image with more than 10mb primefaces

Guys, I'm going through a pretty annoying and seemingly simple problem and I have not found a solution yet, can anyone help me? I am using the upload of primefaces and it simply does not upload files larger than 10mb ... A 9.9mb file goes normal...
asked by 10.12.2014 / 17:05