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
> 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]
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
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
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
>
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
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
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
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
> >>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
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
> 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
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
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.
> >
> >
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
-
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
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
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/)
18 matches
Mail list logo