497 Topics

Member Avatar for
Member Avatar for manzoor.ilahi77

Please help me on this file upload. [CODE] <form id="form_2" action="files_upload.php" method="post" enctype="multipart/form-data"> <input type="hidden" name="MAX_FILE_SIZE" value="50000000"> File:<input type="file" name="file" class="input" maxlength="350"" /><br /> <input type="submit" name="submit" value="Upload File"> </form> [/CODE] [CODE]<?php if(isset($_POST['submit']) && $_FILES['file']['size'] > 0) { $fileName = $_FILES['file']['name']; $tmpName = $_FILES['file']['tmp_name']; $fileSize = $_FILES['file']['size']; $fileType = $_FILES['file']['type']; …

Member Avatar for sv3tli0
0
548
Member Avatar for kaizokupuffball

Hi! I got this image uploading script that will upload the user's choosen picture, and save it in the user's folder with the users nickname. Now, when i got the picture uploaded i want to resize it to 3 exact sizes (3 versions of the image). 240x250 and 2 other …

Member Avatar for kaizokupuffball
0
392
Member Avatar for rakwel10

Pls help me find the problem. All input fields work except for the upload. It doesnt take the file to directory I want. I have error scripts in case there's an error but alert errors are not popping, I dont know why... Help... [CODE] if(isset($_POST['submit'])) { $upload_errors = array( UPLOAD_ERR_OK …

Member Avatar for adkhan
0
136
Member Avatar for Dragonbaki

Hi guys., I have trapped in a very critic situation. I need to upload files without any restriction of file size. I have a uploader developed using Flash and PHP. I have changed the settings in php.ini as follows upload_max_filesize = 100M post_max_size = 128M memory_limit = 512M max_execution_time = …

Member Avatar for Dragonbaki
0
163
Member Avatar for megachip04

I am trying to let users upload .flv files that will be played through flow player. While I am not getting an error, the file is not copying to the ftp folder. The upload script I have is [CODE] if ($_FILES["file1"]["type"] == "video/flv") { $path1 = "uploads/".time().'.'.$HTTP_POST_FILES['file1']['name']; $path1 = str_replace …

Member Avatar for cereal
0
144
Member Avatar for klemme

Hi, After uploading a pdf from a form, i am trying to read the file. It is saved in DB, and i try to get the chosen PDF via a link that holds a unique value from the DB, so the chosen PDF can be identified, and displayed. BUT, I …

0
97
Member Avatar for klemme

Hey! I have this script for Uploading PDF's to the DB. I tjecks if the document ends on .pdf - and excludes everything that doesnt - which is fine. [B]BUT I have set a size limit on 1 MB for uploading, and it seems to be working. BUT if I …

0
91
Member Avatar for msowards

I'm trying to allow members to upload a picture to the my website. I In my php code I test the uploaded files for type. For some files it works fine, but I've discovered there are .jpg files that don't seem to have the internal type headers and the php …

Member Avatar for ddymacek
0
879
Member Avatar for rahulvramesh
Member Avatar for IIM
0
99
Member Avatar for rpv_sen

Hi I am trying to connect my server through PHP script as below. But i am unable to reach my server and getting error. If i connect my server through ftp software with [B]FTPES[/B] protocol my server is getting connect I am getting an Error as [B]"Warning: ftp_connect() [function.ftp-connect]: php_network_getaddresses: …

Member Avatar for rpv_sen
0
2K
Member Avatar for Awah Mohamed

hi guys.. how are you all?? ok, i need you help to make this happen... i want to create a system that allow people to upload big files and you all know that php time limit is 5 minutes and size limit is 5 mb max.. in case we increased …

Member Avatar for G&G Designing
0
223
Member Avatar for Viruthagiri

This is my normal file upload code. [B] HTML[/B] [CODE]<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1"> <input name="theFile" type="file" /> <input name="Submit" type="submit" value="Upload"> </form>[/CODE] [B]PHP Variables to receive file[/B] [CODE] $fileName = $_FILES['theFile']['name']; $fileTempName = $_FILES['theFile']['tmp_name']; [/CODE] Now i would like to use remote upload. So i created a form …

Member Avatar for cereal
0
391
Member Avatar for megachip04

Warning: copy() [function.copy]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/oeaivcom:/usr/lib/php:/usr/local/lib/php:/tmp) I am trying to create a form that someone can submit a file to an ftp location. I found a script online and it is giving me this error. Could anyone point me in the …

Member Avatar for Insensus
0
559
Member Avatar for Alternativeguy

Hey All I have made this upload script but everytime I tried to execute it, it fails and gives me this error. [URL="http://www.daniweb.com/forums/attachment.php?attachmentid=21701&stc=1&d=1311399235"]http://www.daniweb.com/forums/attachment.php?attachmentid=21701&stc=1&d=1311399235[/URL] This is my code in the Upload.php File: [CODE] <form enctype='multipart/form-data' action='Upload_File.php' method='POST'> Please choose a file: <input name='myfile' type='file' /><br /> <input type='submit' name='submit' value='Upload' /> …

Member Avatar for ddymacek
0
97
Member Avatar for Jaklins

My php code for upload is supposed to filter out images with file extentions different than the ones below and bigger than 5 Mb. It's a normal post fileField form in html that runs this php script. It works like a charm on Firefox and Chrome, but for some reason …

Member Avatar for Jaklins
0
698
Member Avatar for masterofpuppets

Hi all, I am writing a server in Java and I have an issue which I've been working on for days now and I can't seem to find a solution. I want to upload files to the server using an HTML form. I can read the whole POST request and …

Member Avatar for masterofpuppets
0
218
Member Avatar for psyb0rg

I'm trying to upload a file to a remote server using curl. The server requires that the file contents should be in the post body and the file name should be in the header. This is the code I', using : [CODE] $fp = fopen($fileLocation, "r"); $ch = curl_init(); curl_setopt($ch, …

Member Avatar for gieseni
0
1K
Member Avatar for asasasasasa

Hi all . . i need to develop an uploader for my website . . i done it . but the progress bar not working . . plz do help me .. thanks in advance . . --Karthik this is my code . aspx page : [CODE]<%@ Page Language="C#" AutoEventWireup="true" …

Member Avatar for aspproject
0
2K
Member Avatar for josiefrut

Hi there guys! I've been stuck with this problem for quite a while now. I wanted to create a jsp which would upload files to sql database. I've used this code for my upload_page.jsp: [CODE] <%-- Document : upload_page Created on : Mar 6, 2011, 11:01:40 PM Author : Administrator …

Member Avatar for josiefrut
-2
469
Member Avatar for OnnDay

Hi everyone. I'm using Tomcat 7.0.8 I have created servlet, which loads image to "webcontent\pic" folder of my project. Then I need to display this image. The servlet works, but with only restriction: i need manually refresh content of project, or directory (I'm using Eclipse). Otherwise ugly cross will be …

Member Avatar for OnnDay
0
166
Member Avatar for rhiang1984

i am wondering where i am going wrong, i have a uploader image in php and html, it all works as in it goes into the set folder, but i have a problem, because i want the program to do the folder then do another folder inside,as in using the …

Member Avatar for codewall
0
938
Member Avatar for adobe71

How can I upload image by checking pixel(ie 100x100) and size(ie 50kb)in MS Access and retrieve from database to show in image control using C#.

Member Avatar for sgt_toasty
0
86
Member Avatar for masterjiraya

ALL THE FILES ARE HERE. [URL="http://cid-3e21e1e16478087a.office.live.com/embedicon.aspx/.Public/noswfupload.rar"]http://cid-3e21e1e16478087a.office.live.com/embedicon.aspx/.Public/noswfupload.rar[/URL] THERE'S A PROBLEM IN THE FILE RECEIVER.PHP I can't solve why I cant upload with restrictions, what I want is to upload multiple files in one deploy... it's an array of files. I want these each files of every array element is checked and …

Member Avatar for masterjiraya
0
205
Member Avatar for msrache

I'm sorry. The correct URL for the demo upload is here: [url]http://demo.joomlatools.eu/[/url] I can't find the edit post button. Thanks, Rachel [QUOTE=msrache;1548777]Hi, This issue specifically has to do with the CMS Joomla, particularly the component Docman. Since the only available option I have for posting this was under the category …

0
111
Member Avatar for Rahul Das

I am developing an application where I am uploading a file and then it is uploaded to a temporary folder and I see the preview of that image through an ajax call without refreshing the current page.Then after clicking "Save" it saves the file to original directory. The file I …

0
123
Member Avatar for Tabone3

I never uploaded a file before and I'm finding some problems regarding uploading a file in a directory which have some security. I searched on the internet and I found out that I need to make use of [I][B][U]chmod[/U][/B][/I] php function however I have been fighting against my computer for …

Member Avatar for tomato.pgn
0
237
Member Avatar for blueangel

How to upload file with oracle database 10gR2?? i can't find how to upload.. i've tried to create a procedure in oracle and execute in netbeans but the file save in directory and then from directory save to database. it means the file save in 2 location, in directory and …

0
85
Member Avatar for aposse

Hello everyone I'm using dreamweaver CS5. I have widgets like slideshow filmstrip; youtube; and twitter im trying to upload unto my server go daddy, but it doent reconize my spry can anyone help. Aposse

0
60
Member Avatar for Prateek Salian
Member Avatar for DarkLightning7
-2
89
Member Avatar for jrotunda85

My site is broken into three different categories (which are stored on 3 separate tables) and I am looking at creating a functionality to let a user upload photos. Ideally, I would like the following to happen: [LIST=1][*]A user is viewing a single retail store on the site, for example …

Member Avatar for jkon
0
165

The End.