[SPIP] Submitted : _INC_DISTANT_MAX_SIZE

SPIP

Article submitted

The article « _INC_DISTANT_MAX_SIZE
(https://www.spip.net/ecrire/?exec=article&id_article=6755) » is submitted
for publication. on Friday 23 September 2022.


_INC_DISTANT_MAX_SIZE

Friday 23 September 2022 , by jack

The constant _INC_DISTANT_MAX_SIZE defines the maximum size of a
remote file retrieved by the recuperer_page(). By default, this constant
is set to 2 MB.

It is possible to customize the value of the constant
_INC_DISTANT_MAX_SIZE in your file config/mes_options.php (see The
mes_options.php file
(https://www.spip.net/ecrire/?exec=article&id_article=4909)).

Example :

// allow the retrieval and processing


// of files up to 3 Mb away


define

 (http://www.php.net/define)

(


'_INC_DISTANT_MAX_SIZE'


,


3


*


1048576


)


;

— Sent by SPIP (https://www.spip.net/)

rubon199-7e493.jpg