12345function writeFile($data, $path, $targetname){ $fp = fopen($path.'/'.$targetname, "w", 0); fputs($fp, $data); fclose($fp); }
Tags: Snippets Posted in PHP
Comments are closed.