Write a PHP script to get the directory path used for temporary files
- برمجة بي اتش بي
- 2021-09-08
- mhanasmh00489829403
الأجوبة
<?php
// Create a temporary file in the temporary
// files directory using sys_get_temp_dir()
$temp_file = tempnam(sys_get_temp_dir(), 'Tux');
echo $temp_file."\n";
?>
Sample Output:
/tmp/TuxN0kaAE
أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال