Answers for "how to add a line to a php .ini file"

PHP
0

php append line to file

file_put_contents("filename.txt","new line to appended\n",FILE_APPEND);
Posted by: Guest on March-04-2021
2

append new line php

$data = 'some data'.PHP_EOL;
$fp = fopen('somefile', 'a');
fwrite($fp, $data);
Posted by: Guest on May-28-2020

Code answers related to "how to add a line to a php .ini file"

Browse Popular Code Answers by Language