File Elements

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
phprogrammers
Forum Newbie
Posts: 3
Joined: Thu Feb 24, 2011 9:17 am

File Elements

Post by phprogrammers »

We are trying to upload 12 mp3 files from a form, when we submit and go to next page and try to see whats coming in files through this code

print_r($_FILES);

It only return the first 8 files in array, no information about the rest 4.

Any idea why? If this is some server or php configuration settings that I need to look at?

Its working fine on my local machine.

Pre- thanks

Fahad
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: File Elements

Post by VladSun »

http://www.php.net/manual/en/features.f ... ltiple.php
Warning

Since PHP 5.2.12, the max_file_uploads configuration setting acts as a limit on the number of files that can be uploaded in one request. You will need to ensure that your form does not try to upload more files in one request than this limit.
There are 10 types of people in this world, those who understand binary and those who don't
phprogrammers
Forum Newbie
Posts: 3
Joined: Thu Feb 24, 2011 9:17 am

Re: File Elements

Post by phprogrammers »

VladSun your advise was really helpful. Appreciate your help.
Thanks
Post Reply