How to send a file larger than 10MB without having access to php.ini?

4
It is as follows: My free file hosting gives me access to see php.ini file information, but I can not modify it, I already tried to create a php.ini in the htdocs folder but it did not work, I tried to add it to the .htaccess and did not work:

php_value upload_max_filesize 40M
php_value post_max_size 42M

PHP info information that might be useful:

Propriedade                       Valor original    Valor do servidor
================================= ================= =================
file_uploads                      On                On
max_execution_time                20                30
max_file_uploads                  20                20
post_max_size                     20M               20M
upload_max_filesize               10M               10M
upload_tmp_dir                    /tmp              /tmp
session.upload_progress.cleanup   On                On
session.upload_progress.enabled   On                On
session.upload_progress.freq      1%                1%

I just need to put to upload with more than 10mb , but my hosting does not allow more than that. What can I do?

    
asked by anonymous 22.02.2017 / 20:42

1 answer

3

ini_set('post_max_size', '64M'); ini_set('upload_max_filesize', '64M');

    
02.03.2017 / 12:15