Uploading Files Settings

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lettie_dude
Forum Commoner
Posts: 65
Joined: Thu Dec 07, 2006 10:10 am

Uploading Files Settings

Post by lettie_dude »

Hi

I'm in the process of setting up a client lounge to allow clients to upload files to the server. The code I have written works fine. My problem though is I need to be able to allow for files of upto 50MB to be uploaded. Currently the code times out with no error messages and the file is not being uploaded. Having done some forum searching beleive it will be something to do with phps internal settings in the php_ini file. Here is where I need assistance.

To allow php to deal with 50MB uploads which settings do I need to change in the ini file. I have found some that look as though they need changing but do I need to change any more or any less and by what amount do I need to up the memory allocation for each?

post_max_size
upload_max_filesize
max_execution_time
memory_limit

Many Thanks
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Post by aceconcepts »

Have you considered bandwidth?
lettie_dude
Forum Commoner
Posts: 65
Joined: Thu Dec 07, 2006 10:10 am

Post by lettie_dude »

Bandwidth is not the issue here.

Just need to know what ones to set.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

http://php.net/features.file-upload notes the directives which directly affect file uploads.
Post Reply