Marc Delisle wrote:
Jürgen Wind a écrit :
Maybe a value could be set in the config file, e.g., $cfg['maxSuhosinLength'] = 1000; and the warning only be triggered when a $_POST/GET possibly will reach that limit?
Then could someone please check whether
ini_set('suhosin.request.max_vars', $GLOBALS['cfg']['maxSuhosinLength']);
has the desired effect (I don't have access to a suhosin protected box):
Jürgen
Sorry, it does not work. Changing these is restricted to php.ini.
Marc
but ini_get('suhosin...') could be used to warn users only if neccessary, couldn't it?