497 Topics

Member Avatar for
Member Avatar for arihantphp

Hey all , I am working on a website on which the user has to upload images, most of the images are of large size and that takes a lot of time for the image to be uploaded, is there a way by which i can reduce the time taken …

Member Avatar for pritaeas
0
299
Member Avatar for FaisalSarfraz

Hi every one I am trying to upload a file on server but it is not uploading and always giving an error HEre is code. Please help. Its urgent [CODE] <?php session_start(); if(!session_is_registered(username)){ header("location:login.php"); } if($_REQUEST['title'] != '' && $_REQUEST['type']!='' && $_REQUEST['category'] != '' && $_REQUEST['sub']!=''&&$_REQUEST['elm3'] != '') { require("db.php"); …

Member Avatar for veedeoo
0
312
Member Avatar for OnIIcE

Hi guys, im trying to upload files to my script and have hit an anoying problem. if the file is bigger than what I allow in in my php.ini config, the $_POST and $_FILE comes through empty - and I cant check that there's been a post to then check …

Member Avatar for veedeoo
0
96
Member Avatar for technoknol

Hi friends, I have one file in PHP this file is remote upload script. But when i run this file, it's not downloading specified file in URL. Below is a script is there anyone who can solve my problem then pleases help me. [CODE]<?php define('BUFSIZ', 4095); $url = $_GET["t1"]; // …

Member Avatar for weekendrockstar
0
133
Member Avatar for raminsha

I can't upload file with form data. I am getting null value when accessing Request.getParameter("name"); how can i upload file as well as form data please help

Member Avatar for peter_budo
0
59
Member Avatar for Mykybo

Hi, I am new to php, and I need to do multiply image upload. Right now I have single image upload which is not working.., so any adive would be appreciated. Here is part of form I use for image upload: [CODE] <i>Vyber obrázek:</i> <input type="file" name="imagefile" /> <br /><br …

Member Avatar for Mykybo
0
139
Member Avatar for arihantphp

In this code to upload multiple images to a different folder each time, it creates a new folder and moves files to it, but the validation part is not working ! if i remove the validation part the files are uploaded correctly!! I have mentioned using comments that in which …

Member Avatar for arihantphp
0
440
Member Avatar for bebosh

[B]Hi all, I would ask about fileUpload control, in asp.net 2008 can I know how remaining time to upload file successfully without using threading and without using javascript? the progress bar not problem, the problem that faced me is how to know how much file size was uploaded...[/B]

Member Avatar for desynch
0
235
Member Avatar for eldes23

i've already searched but i got more confused when new codes appears in my sight again (cuz im just a newbie) So, what I want to is, when the user successfully uploads the image(upload.php), it will be viewed before continuing into the next step (view.php). [B]index.php[/B] [CODE=php] <html> <body bgcolor="black" …

Member Avatar for eldes23
0
212
Member Avatar for ryklon

Hi! I'm having a bad time on learning how to store and retrieve image files on MS Access. This is some sort of uploading profile picture thing in my software. The open file dialog stuff and the storing of image file in the MS Access Database are taken care of …

Member Avatar for ryklon
0
1K
Member Avatar for krishnisilva

hi, I am using SQL client as the database and VS 2008 standard to bild my project. i need to browse for a file and upload it to the SQL database. how can I do this ?? I have the code to browse for the file and insert to the …

Member Avatar for LP...
0
2K
Member Avatar for RazorRamon

Hello I'm looking to allow users upload pictures onto my site and have it displayed and linked to their site.. This process is for Ad purposes. Ive looked into php mysql uploading images but ive ran into a lot of threads condemning the practice and suggesting saving the images to …

Member Avatar for diafol
0
167
Member Avatar for dinhunzvi

is there a way to resize an image after you have uploaded it using php? suppose i want to restrict the width and height of my images to 1000 and 800 respectively what code to i add to the following code snippet? [CODE] $tmp_file = $_FILES['file_upload']['tmp_name']; $target_file = basename( $_FILES['file_upload']['name'] …

Member Avatar for kamili
0
154
Member Avatar for dinhunzvi

i'm trying to upload file using php. i want to restrict the file extensions to .jpg and jpeg. this is the code i have [CODE] $upload_errors = array( UPLOAD_ERR_OK => "No errors.", UPLOAD_ERR_INI_SIZE => "Larger than upload_max_filesize.", UPLOAD_ERR_FORM_SIZE => "Larger than form MAX_FILE_SIZE.", UPLOAD_ERR_PARTIAL => "Partial upload.", UPLOAD_ERR_NO_FILE => "No …

Member Avatar for kamili
0
173
Member Avatar for issaru07

hi everyone, i encounter problem when trying to create a form page to upload images to images folder and imagelocation will store information for the pathname where the image will be located ( will be used for display image in future) the code below does not have any error when …

Member Avatar for diafol
0
179
Member Avatar for mcwebalizer

I make an image administrator with PHP / MYSQL / AJAX. I try upload image - success! After uploading image I refresh page. uploaded image has added to list. I press delete button - image removes from list. But why it doesn`t remove from mysql list??? File can be downloaded …

Member Avatar for swapy
0
124
Member Avatar for ginG3R

Hello, Am new to php and I have a question that is probably very easy. I have been watching tutorials online to learn how to work with databases, but none of them speak on how to upload to server. This is my problem: am using vertrigoserv but specifically using PHPMyAdmin …

Member Avatar for ginG3R
0
226
Member Avatar for kaosjon

Hi, i am not sure whether this is in the right section or not but i am building an file upload site and want to be able to scan the files on upload for viruses etc.. How would i be able to do this? Any ideas to get me started? …

Member Avatar for Airshow
0
103
Member Avatar for KamranArshad

Hi i have a problem in uploading large file. web hosting allow me to send file 256M, Code is working for small files but i try to upload 25M size file page return back without any error, and nothing happened. i also use "set_time_limit(0);" for unlimited request time In error …

Member Avatar for pritaeas
0
168
Member Avatar for mehdi.yazdani

Hi every body i was create some forms for uploading files. when i tried to upload some files with less than a MB there is no problem and it works well but when the size of file that i want to upload it, is over than 10 MB i faced …

Member Avatar for mehdi.yazdani
0
99
Member Avatar for Szabi Zsoldos

Hello, I have this weird issue with my simple upload form for different files. [CODE] <form enctype="multipart/form-data" action="mesaje_furnizori.php" method="GET"> <table> <tr><td align="right">Va rugam selectati &raquo; </td><td><?php echo $selectare; ?></td></tr> <tr><td align="right"><td><input type="file" name="file" id="file"/></td></tr> <tr><td align="right" colspan="2">Fisiere suportate (.*gif,*.jpg,.*jpeg,.*png,.*bmp,.*doc,.*docx,.*xls,.*xlsx) Marimea maxima de: <strong>5MB</strong></td></tr> <tr><td colspan="2"><textarea name="mesajTrimis" cols="70" rows="15"></textarea></td></tr> </table> <input …

Member Avatar for Stefano Mtangoo
0
196
Member Avatar for gingerfish

i have these two separate files: html form: [CODE]<form name="form" action="1.jsp" method="post"> <b>File Upload:</b> <input type=file name="seqFile"> <input type=submit name="submit" value="submit" > </form> [/CODE] and JSP file 1.jsp: [CODE]<%@ page language="java" import="java.io.*" errorPage="" %> <% if(request.getParameter("seqFile")!=null){ //"C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/ROOT/test/seq.txt" String file = request.getParameter("seqFile"); FileReader testRead; testRead = new …

0
74
Member Avatar for emiola

Hello, I need my web users to send an uploaded file along with their registration data. The form will be sent via email while at the same time, the uploaded file will be stored in a folder on my server. Take a look at the code please: [CODE] <?php if(isset($_POST['email'])) …

Member Avatar for somedude3488
0
255
Member Avatar for sungkono

Hii All, i'm newbie in this forum and in php i got a problems, i was developing simple website i had 3 tables in there table request, table upload, and table feedback which in id_request is foreign key in table upload and table feedback 1. how to update the id_request …

Member Avatar for diafol
0
130
Member Avatar for kzip

-upload.php- [CODE]<table width="500" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <form action="rename.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <td> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF"> <tr> <td><strong>Single File Upload </strong></td> </tr> <tr> <td>Select file <input name="ufile" type="file" id="ufile" size="50" /></td> </tr> <tr> <td align="center"><input type="submit" name="Submit" value="Upload" /></td> </tr> </table> </td> </form> </tr> …

Member Avatar for Stefano Mtangoo
0
146
Member Avatar for megachip04

Hello, I am currently allowing users to upload videos via php $_FILES[][] and then converting them using ffmpeg. I am wondering if there is a more efficient way to do this than using php. I have read that ajax might be useful (that's what vimeo uses). Could anyone point me …

Member Avatar for Delfacto
0
164
Member Avatar for vidjin

Hi, I want a Jquery based Ajax solution for Uploading, Cropping and Saving Images... I have been trying to find it for 3 4 days but I am only finding tutorials and solutions with postbacks when cropping images. Please help. thanks

Member Avatar for vidjin
0
135
Member Avatar for jacko_162

New user to Daniweb in the hope i can get some help cus my brain is fried. Im relitively a n00b at php but i can handle the basics, working with images is beyond me at the moment but im learning. I have the below code, which works. it uploads …

Member Avatar for jacko_162
0
260
Member Avatar for mmoorehead

A few days ago I found that I was no longer able to use application functions that access (browse) the system file directory...such as the OPEN buttons...the SAVE AS function....downloading or uploading files...etc. Any ideas? Windows Vista Home Premium - 64bit - SP2

Member Avatar for jingda
0
160
Member Avatar for cent91

0 down vote favorite share [fb] share [tw] share [in] i am working on a tiny tiny app that just uploads a file to the ftp server, i have reviewed my code but am quite unable to locate the problem, here is the code, [CODE=C]#include "stdafx.h" using namespace System; #include …

Member Avatar for Moschops
0
2K

The End.