Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php write to file

$text = "Anything";
$var_str = var_export($text, true);
file_put_contents('filename.txt', $var_str);
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #write #file
ADD COMMENT
Topic
Name
5+5 =