Answers for "php write to file c: temp"

PHP
0

how to read from temp files php

<?php$dir = sys_get_temp_dir();$tmp = tempnam($dir, "foo");file_put_contents($tmp, "hello");$f = fopen($tmp, "a");fwrite($f, " world");fclose($f);echo file_get_contents($tmp);
Posted by: Guest on August-05-2021

Browse Popular Code Answers by Language