implicated (@implicated)

Forum Replies Created

Viewing 1 replies (of 1 total)
  • @implicated

    Member

    Your PHP version is rather old, use this:

    if (!function_exists('file_put_contents')) {

    function file_put_contents($filename, $content) {

    if ($fp = fopen($filename, 'w')) {

    $result = fwrite($fp, $content);

    fclose($fp);

    return $result;

    }

    else {

    return false;

    }

    }

    }

Viewing 1 replies (of 1 total)