Rebonjour et merci
Mais :
Warning: Invalid argument supplied for foreach() in t:\forum\includes\class\class_cache.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at t:\forum\includes\class\class_cache.php:217) in t:\forum\includes\header_forum.php on line 57
Warning: Cannot modify header information - headers already sent by (output started at t:\forum\includes\class\class_cache.php:217) in t:\forum\includes\header_forum.php on line 58
Warning: Cannot modify header information - headers already sent by (output started at t:\forum\includes\class\class_cache.php:217) in t:\forum\includes\header_forum.php on line 59
Warning: Cannot modify header information - headers already sent by (output started at t:\forum\includes\class\class_cache.php:217) in t:\forum\includes\header_forum.php on line 60
includes\class\class_cache.php
[php] function convert_to_simple_array($tab, $name = 'name', $value = 'value')
{
$new_tab = array();
foreach ($tab AS $v)
{
$new_tab[$v[$name]] = $v[$value];
}
return ($new_tab);
}[/php]
foreach ($tab AS $v)
header_forum.php
[php]header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Expires: 0');
header('Pragma: no-cache');[/php]