Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-04-2005, 04:29 PM   #1
Registered: Sep 2004
Location: Worcester, MA USA
Distribution: Debian, Gentoo, Fedora FC2
Posts: 66

Rep: Reputation: 15
uploading multiple files with php

Hey all
I'm setting up a little script that displays pictures that are stored in a tree in my DocumentRoot on my server. Yesterday i wrote a script that uploads new photos into a new directory, and creates thumbnails of the images to be used in the script. I am using
for($i=0;$i<20;$i++) echo "<input type=\"file\" name=\"photo[$i]\">";
to upload the files, and it works fine. The problem i have with it is that it is rather slow, process consuming, and i have a hard time uploading batches of files, or an entire album to put it in this context. Now before i start coding a way at finding a different method (maybe FTP) I thought i'd post to see if anybody had any ideas on how to upload a bunch of files in an easy, quick way.
Any ideas are appreciated.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP: huge functions file vs multiple small files carlosruiz Programming 2 06-14-2005 03:06 AM
PHP error message when uploading files obj63 Programming 4 08-26-2004 12:15 PM
Uploading files using PHP giving Permission Denied error MatthewG Programming 4 05-27-2004 03:38 PM
Problems with uploading files tried php.conf bwreath Linux - General 0 07-31-2003 03:31 PM
PHP and uploading files Syncrm Linux - General 5 07-02-2002 11:49 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration