Last active
February 12, 2019 12:44
-
-
Save nurullahisik/0c0ee46a7ac405cd88b3337d1804e867 to your computer and use it in GitHub Desktop.
Create file with unique file name With PHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$temp_file = tempnam("/", "FOO"); | |
echo $temp_file; | |
// $file = fopen($temp_file, "w"); | |
// fwrite($file, "temp file content"); | |
// fclose($file); | |
// bir takım kodlar | |
//unlink($temp_file); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment