Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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);
Source by cloud.google.com #
 
PREVIOUS NEXT
Tagged: #read #temp #files #php
ADD COMMENT
Topic
Name
8+1 =