$file = 'log.txt'; $content = $callback; file_put_contents(RUNTIME_PATH.$file, $content.','.$startUrlIdx, type='.PHP_EOL,FILE_APPEND);