|
Posted by Rik Wasmus on 01/14/08 12:40
On Mon, 14 Jan 2008 13:31:55 +0100, jodleren <sonnich@hot.ee> wrote:
> On Jan 14, 1:39 pm, Captain Paralytic <paul_laut...@yahoo.com> wrote:
>> On 14 Jan, 11:27, jodleren <sonn...@hot.ee> wrote:
>>
>> > Hi
>>
>> > I have an app, where I should upload files...
>> > Problem: when e.g. uploading 14MB (just 10MB) the page will load, then
>> > go back to the original page.... by some reason I cannot upload large
>> > files, larger than some 5 MB.
>>
>> > I cannot get any information it looks like my server just reloads the
>> > original page.
>>
>> > Any ideas?
>>
>> What does phpinfo() tell you about maximum upload size?
>
> :-)
> Got it - it says 12M(b). I'll look for a way to prompt that to the
> user,
if($_FILES['keyname']['error'] == UPLOAD_ERR_INI_SIZE) //alert user
> and how to change that.
It's PHP_INI_PERDIR afaik, so php.ini, webserver configuration, and in the
case of Apache, .htaccess files.
--
Rik Wasmus
Navigation:
[Reply to this message]
|