Hướng dẫn dùng tempfile temporarydirectory trong PHP
(PHP 4, PHP 5, PHP 7, PHP 8) tmpfile — Creates a temporary file Descriptiontmpfile(): resource|false The file is automatically removed when closed (for example, by calling fclose(), or when there are no remaining references to the file handle returned by tmpfile()), or when the script ends. Caution If the script terminates unexpectedly, the temporary file may not be deleted. ParametersThis function has no parameters. Return Values Returns a file handle, similar to the one returned by fopen(), for the new file or ExamplesExample #1 tmpfile() example
The above example will output: See Also
bishop ¶ 4 years ago
chris [at] pureformsolutions [dot] com ¶ 16 years ago
Anonymous ¶ 5 years ago
divinity76 at gmail dot com ¶ 2 years ago
elm at gmail dot nospamplease dot com ¶ 3 years ago
oremanj at gmail dot com ¶ 15 years ago
ssandor ¶ 9 years ago
|