[Phpmyadmin-devel] New Suhosin warning (#1863326)

Marc Delisle Marc.Delisle at cegepsherbrooke.qc.ca
Tue Mar 4 22:59:07 CET 2008

Jürgen Wind a écrit :
> 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?

It could, but I'm afraid that on a shared server, showing such warnings 
(just if necessary) to end users is not the optimal solution. They might 
not be the ones who can adjust Suhosin.

This is, assuming we can find every place where such warnings are 

More information about the Developers mailing list