(☞ຈل͜ຈ)☞ Главная  Статьи  Загрузчик Домой

Ok!
Ok!
205
function flog($fname, $ftext, $write_a_w_state = null){
    if(!$write_a_w_state)
        $write_a_w_state = "a+";
    $fp = fopen("/home/d/dlmlru/posuda/public_html/log/" . $fname, $write_a_w_state);
    fwrite($fp, date("Y-m-d H:i:s ") . $ftext . "

");
    fclose($fp);
}
flog12090функция логирования php
1 2 3 4 5 6 7 8 9 10 11