Html Upload question Html Upload question
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Html Upload question

Started by omerbennun, September 27, 2007, 10:15:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

omerbennun

Hey all,

I've installed coppermine photo gallery a week ago, and I really liked it.

I have only 1 problem with it...

I've read the manual thoroughly,and simply couldn't find the answer...

I want my users to be able to upload more than 10 files via http each time.

Is that possible? Maybe someone here knows what file I need to edit for me to set it to more? (I want about 40-50)

Thanks in advance  ;D

//Omer//

omerbennun

P.s. I've seen the post which says that it isn't good at handling large numbers of files, but I want to give it a shot anyways...

Thanks...

Hein Traag

Use the Search option, it is there for a reason.

But if you open groupmgr.php .. go to line 202
for ($i = 0; $i <= 10; $i++) {

Change the 10 to 40 and you will have 40 boxes. It is not recommended to do this because it puts a big load on your server.

Joachim Müller

As Hein suggested: this is not recommended at all. Don't complain if things later turn out not to work as expected.

BTW: it's "HTTP upload" instead of "HTML upload". HTML is a language construct. HTTP is a protocol. All www pages are being composed using HTML, so it's not a good criteria. The issue lies in the HTTP upload, which is influenced by many, many factors (client OS, browser, connection speed and type, server OS, server setup, number of files, filesize, dimensions of files - to only name a few).
The maximum number of simultaneous HTTP uploads has deliberately been set to "10" by the coppermine developers when we designed the upload script, simply because it's what I'd consider an absolute upper limit. Although it's comparatively easy to increase the number of files, it's absolutely not a good idea at all to do so. Instead of increasing this number to an insane level, why don't you review the alternative upload methods for end users (XP_Publisher, Koppermine, JUpload etc.) instead.

You (as admin) should use FTP-upload plus batch-add anyway.

Joachim

omerbennun

I realize that it's HTTP, it was a silly mistake...

as for the serverload-it won't be a problem simply because the filesize limit is 150Kb...

Thank you both for your answers!

BTW...
can you maybe give me any links which explain the other upload methods you mentioned?

Thanks!
Omer

Joachim Müller

Quote from: omerbennun on September 27, 2007, 11:16:04 PM
as for the serverload-it won't be a problem simply because the filesize limit is 150Kb...
That is nonsense - the filesize limit is only being taken into account if all those files have successfully been uploaded. If this fails, the user will not be told what went wrong. Believe me, I know what I'm talking about.

Quote from: omerbennun on September 27, 2007, 11:16:04 PMcan you maybe give me any links which explain the other upload methods you mentioned?
Searching the board would have helpded - that's what I had to do as well to post the following links. In the future, don't be lazy. I'm not here to do your homework.

XP-Publisher: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#xp
JUpload: http://forum.coppermine-gallery.net/index.php?topic=43432.0
Koppermine: http://forum.coppermine-gallery.net/index.php?topic=29497.0