Re: [PHP] Unable to upload multiple files

2003-02-01 Thread Antti
You don't even have a "file" form element, or an element named "userfile" so your FOR loop will never run... ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ Yes I do. I just forgot to put it here. -antti -- PHP

RE: [PHP] Unable to upload multiple files

2003-01-31 Thread John W. Holmes
> value='$tracks'> > value='$uartist'> > > > > > > > > > And the php part: > > $number_of_files = count($_FILES['userfile']); > for ($i=0; $i < $number_of_files; $i++) > { >if ($_FILES['userfile']['size'] !== 0) > { > $namename= "$uartist[$i]-$usong[$i]

Re: [PHP] Unable to upload multiple files

2003-01-31 Thread Antti
1lt John W. Holmes wrote: You're saying you're only uploading 10K total... for all of the files. If the browser is respecting this, and you're trying to upload more than 10K, then it could not upload anything and you get your error. If it was a PHP issue, it seems like you'd get an error or w

Re: [PHP] Unable to upload multiple files

2003-01-31 Thread Jason Wong
On Friday 31 January 2003 22:33, 1LT John W. Holmes wrote: > > >>Ok now I am able to send the request. I set the post_max_size into 50M > > >>and now when the request is sent the whole apache goes down giving: > > >> "The document containd no data" everytime I send a request. I tried > > >> also 10

Re: [PHP] Unable to upload multiple files

2003-01-31 Thread Marek Kilimajer
The upload form: (There are ofcourse many of of the first three inputs.) I assume here should be And the php part: $number_of_files = count($_FILES['userfile']); $number_of_files will be 5 if any number of files is uploaded, cause you count $_FILES['userfile']['size'], $_FILE

Re: [PHP] Unable to upload multiple files

2003-01-31 Thread 1LT John W. Holmes
> You're saying you're only uploading 10K total... for all of the files. If the browser is respecting this, and you're trying to upload more than 10K, then it could not upload anything and you get your error. If it was a PHP issue, it seems like you'd get an error or warning from PHP, not from t

Re: [PHP] Unable to upload multiple files

2003-01-31 Thread Antti
Marek Kilimajer wrote: Show us the code Antti wrote: 1lt John W. Holmes wrote: Ok now I am able to send the request. I set the post_max_size into 50M and now when the request is sent the whole apache goes down giving: "The document containd no data" everytime I send a request. I tried also

Re: [PHP] Unable to upload multiple files

2003-01-31 Thread Marek Kilimajer
Show us the code Antti wrote: 1lt John W. Holmes wrote: Ok now I am able to send the request. I set the post_max_size into 50M and now when the request is sent the whole apache goes down giving: "The document containd no data" everytime I send a request. I tried also 10M but same happens. W

Re: [PHP] Unable to upload multiple files

2003-01-31 Thread Antti
1lt John W. Holmes wrote: Ok now I am able to send the request. I set the post_max_size into 50M and now when the request is sent the whole apache goes down giving: "The document containd no data" everytime I send a request. I tried also 10M but same happens. What the h**l is this? Do you have

Re: [PHP] Unable to upload multiple files

2003-01-31 Thread 1LT John W. Holmes
> >>Ok now I am able to send the request. I set the post_max_size into 50M > >>and now when the request is sent the whole apache goes down giving: "The > >>document containd no data" everytime I send a request. I tried also 10M > >>but same happens. What the h**l is this? > > > > > > Do you have th

Re: [PHP] Unable to upload multiple files

2003-01-31 Thread Antti
1lt John W. Holmes wrote: Ok now I am able to send the request. I set the post_max_size into 50M and now when the request is sent the whole apache goes down giving: "The document containd no data" everytime I send a request. I tried also 10M but same happens. What the h**l is this? Do you have

Re: [PHP] Unable to upload multiple files

2003-01-31 Thread 1LT John W. Holmes
> Ok now I am able to send the request. I set the post_max_size into 50M > and now when the request is sent the whole apache goes down giving: "The > document containd no data" everytime I send a request. I tried also 10M > but same happens. What the h**l is this? Do you have this line in your for

Re: [PHP] Unable to upload multiple files

2003-01-31 Thread Antti
Marek Kilimajer wrote: check max_post_size in php.ini Antti wrote: When I push the submit button it starts to send the request to my server and uploads a file, but if I upload more than one at a time it doesn't even start to upload them. My upload max should be like 50M in php.ini. What is t

Re: [PHP] Unable to upload multiple files

2003-01-31 Thread Jason Wong
On Friday 31 January 2003 21:47, Antti wrote: > Justin French wrote: > > Firstly, try uploading two SMALL files (say, no more than 1k each), just > > to check if it's an issue with *two files*, or an issue with *file size*, > > *script time outs* (maximum execution time) or something else. > > > >

Re: [PHP] Unable to upload multiple files

2003-01-31 Thread Marek Kilimajer
check max_post_size in php.ini Antti wrote: When I push the submit button it starts to send the request to my server and uploads a file, but if I upload more than one at a time it doesn't even start to upload them. My upload max should be like 50M in php.ini. What is the problem. antti -

Re: [PHP] Unable to upload multiple files

2003-01-31 Thread Antti
Justin French wrote: Firstly, try uploading two SMALL files (say, no more than 1k each), just to check if it's an issue with *two files*, or an issue with *file size*, *script time outs* (maximum execution time) or something else. Start ruling them out, one at a time. Justin on 01/02/03 12:03

Re: [PHP] Unable to upload multiple files

2003-01-31 Thread Justin French
Firstly, try uploading two SMALL files (say, no more than 1k each), just to check if it's an issue with *two files*, or an issue with *file size*, *script time outs* (maximum execution time) or something else. Start ruling them out, one at a time. Justin on 01/02/03 12:03 AM, Antti ([EMAIL PROT

[PHP] Unable to upload multiple files

2003-01-31 Thread Antti
When I push the submit button it starts to send the request to my server and uploads a file, but if I upload more than one at a time it doesn't even start to upload them. My upload max should be like 50M in php.ini. What is the problem. antti -- PHP General Mailing List (http://www.php.net/)