Jump to content

chubbychubus

New Members
  • Posts

    6
  • Joined

  • Last visited

Community Answers

  1. chubbychubus's post in chubbychub (no, this thread isn't spam) was marked as the answer   
    thank you requinix!, that helped, i ended up using the below code:

    function logText($text)
    {
        $ts = date("D d-m-y h:i A",time());
        $toLog = "[" . $ts . "] " . $text;
        file_put_contents( "logFile.txt",$toLog);
        //fwrite($fh, $toLog."\n");
        //fclose($fh);

    this has time stamp in a formatt that i want to easily read.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.