Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-13-2012, 05:45 AM   PM User | #1
durangod
Senior Coder

 
Join Date: Nov 2010
Posts: 1,177
Thanks: 214
Thanked 31 Times in 30 Posts
durangod is on a distinguished road
Multiple Upload process question

Hi i am considering adding the ability to do multiple uploads to my gallery rather than one at a time.

With help here awhile back i do have a good solid upload page and i have also in the past done a multiple delete section such as in member email section.

So my question is, the process and theory is the same correct? Instead of just one value, you pass an array of values to the upload process and thats the only difference.

I tend to think too deep sometimes on this stuff and my thinking was about server memory, what if i allow 10 images and they are huge and the server runs out of memory allowed, among other things. Such as do i now need to have a process bar and i guess i do that in javascript.

I guess im just asking because i dont know if there are any special situations i should prepare or code for.

My initial thought was just pass it the array instead of the one value and do a while loop. Easy peasy right
durangod is offline   Reply With Quote
Old 10-13-2012, 03:38 PM   PM User | #2
DrDOS
Senior Coder

 
Join Date: Sep 2010
Posts: 1,155
Thanks: 10
Thanked 148 Times in 148 Posts
DrDOS is infamous around these parts
http://www.codingforums.com/showthread.php?t=266506

Here's a sample script.
DrDOS is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:15 PM.


Advertisement
Log in to turn off these ads.