Re: connection error on file upload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Jay Blanchard wrote:
> [snip]
> Jay Blanchard wrote:
>   
>> [snip]
>> That was my first thought, but two things:  1.  the error occurs
>> IMMEDIATELY, and 2.  the max_execution_time = 6000 so I would think
>>     
> that
>   
>> arbitrarily high number would prevent that error?
>> [/snip]
>>
>> If it occurs immediately does your upload form look like this;
>>
>> <!-- The data encoding type, enctype, MUST be specified as below -->
>> <form enctype="multipart/form-data" action="__URL__" method="POST">
>>     <!-- MAX_FILE_SIZE must precede the file input field -->
>>     <input type="hidden" name="MAX_FILE_SIZE" value="30000"
>>     
> /><<<<<<<<<
>   
>> LOOK
>>     <!-- Name of input element determines name in $_FILES array -->
>>     Send this file: <input name="userfile" type="file" />
>>     <input type="submit" value="Send File" />
>> </form>
>>
>> From http://www.php.net/manual/en/features.file-upload.php
>>
>> In your php.ini what is the max upload size?
>>   
>>     
>
> My looks pretty much the same, except for the omission of the hidden
> field for max_file_size, which is defined in the php.ini as
>
> upload_max_filesize = 200M
>
> post_max_size = 250M
>
>
>
> Well, there it is then. You MUST include that hidden field.
>   

I just added that line, but the results haven't changed.  STILL get the
error.  any other ideas about what I'm doing wrong?

thanks in advance.



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux