Questions tagged as 'upload'

0
answers

Multiple upload of files in PHP

I'm a beginner in PHP and I'm developing a system for real estate. The annoying thing that occurred to me was this: I need to upload 20 photos of a property using only 1 input and save the file name in the bank. I can upload the files and resize...
asked by 10.04.2016 / 03:24
3
answers

Generate new name for the image during upload - php

I use the code below and it works correctly, however I need to change the name of the image during UPLOAD. <?php require_once('conexao.php'); ?> <?php $cliente = $_GET['cliente']; $cod = $_GET['cod']; $uploaddir = "./clientes/".$clie...
asked by 30.12.2015 / 17:06
1
answer

Direct image upload in MySQL DB using C #

I'm creating a WEB application using C # and a MySQL DB. I need to upload an image to the Bank and then retrieve it. I am a beginner in this world, but what I have so far: IhaveafupCPFfieldthatreceivestheimage,thenIexecutetheInsertbelow:s...
asked by 08.04.2016 / 15:55
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
0
answers

Create thumbnail from multiple upload

Good afternoon, I already researched and tried several options and I could not. I'm trying to upload multiple images, and each image generates a thumbnail and only records the original images in the database. But it generates the thumb of onl...
asked by 24.11.2015 / 19:07
1
answer

Uploading mysql image

I need help to develop a code to store images in the database, so far I have not achieved anything ... I do not know if it is better to store the file in a directory and only the name in the bd, and mainly how do this ... <form method="post...
asked by 24.10.2015 / 04:56
1
answer

Unlink: Permission Denied - Trying to get property of non-object

Good afternoon guys, Recently I've been trying to do an image management where I need to use the unlink. Here is the full code for the function: $query_listaPic = "SELECT * FROM tbl_imagem WHERE tbl_produto_id = '$id'"; $listaPic = mysql_qu...
asked by 22.10.2015 / 17:54
1
answer

Uploading image

How can I upload an image, and then display it on another page, without a database, for example I have a form on my "home" page, the person uploads the image, when the image appears on the "images" page     
asked by 17.10.2015 / 16:36
0
answers

Multiple Photos Upload JSF

I need to make a registration screen, where the user can choose up to 5 photos to save. I'm using JSF 2.2 I'd like to know the best way to do this, without using primefaces or richfaces , using a component type link , I tried to...
asked by 06.07.2015 / 16:06
1
answer

jquery.fileupload change name before sending

I have a product registration system and I'm using the jquery.fileupload images to upload the images. It is working perfectly, but some clients are having problem with the name of the duplicate name or names with space. Can anyone in t...
asked by 30.06.2015 / 19:10