bonjour, j'ai ce message qui revient a chaque fois :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 Warning: fgets(): supplied argument is not a valid stream resource in C:\www\xxxxx.php on line 147le warning du fgets provient d'ou ? d'une permission a rajouter ? pourtant je l'ai deja fait, et j'ai toujorus ce message...;$file_cache = 'test/toto.php';
if (file_exists($file_cache)){
$file_date = filemtime($file_cache);
if (time() >= (time($file_date) + DBT_cache::$time_cache)){
chmod($file_cache,0777);
unlink($file_cache);
$data_file = '';
} else {
if (fgets($file_cache)){ /*LIGNE 147*/
chmod(DBT_cache::$folder_cache,0777);
DBT_cache::$var_cachecontent = fgets($file_cache);
} else {
DBT_cache::$var_cachecontent = '';
}
}
}
Partager