The constant _INC_DISTANT_MAX_SIZE defines the maximum size of a remote file retrieved by the recuperer_page() function. 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).

Example :

// allow the retrieval and processing
// of files up to 3 Mb away
define('_INC_DISTANT_MAX_SIZE', 3*1048576);

Author jack Published : Updated : 10/07/23

Translations : English, français, Nederlands