사람은 PHP 버전을 기존 4 *대안
대안
답변
적인 tempnam PHP4
You can use this code from php.net to get a temp dir:
if (!function_exists('sys_get_temp_dir')) {
function sys_get_temp_dir() {
if (!empty($_ENV['TMP'])) { return realpath($_ENV['TMP']); }
if (!empty($_ENV['TMPDIR'])) { return realpath($_ENV['TMPDIR']); }
if (!empty($_ENV['TEMP'])) { return realpath($_ENV['TEMP']); }
$tempfile=tempnam(__FILE__,'');
if (file_exists($tempfile)) {
unlink($tempfile);
return realpath(dirname($tempfile));
}
return null;
}
}
에 존재입니다 PHP
에서 sys_get_temp_dir
및 DIRECTORY_SEPARATOR
및 tempnam
대체 기능을 알고
너희들 ... 고마워! 우리의 서버에서 작동하는 경우에도 -32 투표에서 http://php.net/manual/en/function.sys-get-temp-dir.php#93390 –
나는 잘 모른다 왜 사람들이 투표했는지 -ve –
이 질문이 업데이트되었습니다. 답으로! –
- 1. 대안 setAttribute에 대한 대안
- 2. 대안
- 3. 대안 :
- 4. 대안
- 5. 대안
- 6. 대안
- 7. 대안
- 8. 대안
- 9. 대안
- 10. 대안()
- 11. 대안?
- 12. 대안
- 13. 대안
- 14. 대안
- 15. 대안
- 16. 대안
- 17. 대안
- 18. 대안
- 19. 대안
- 20. 대안
- 21. 대안
- 22. 대안
- 23. 대안
- 24. 대안
- 25. AngularJS의 jQuery에 대한 대안 (대안)
- 26. NoSQL에 무료로 대안 (ravendb하는 대안)
- 27. VSTO 대안
- 28. range.getBoundingClientRect의 대안
- 29. Inflector.Net의 대안
- 30. java.util.Vector - 대안
그냥 ... 뭐라구? 왜? –
ini_get()에서 시스템 임시 디렉토리 경로 –
을 읽을 수있는 대체 방법을 찾을 수 없도록 이전 버전의 PHP가 우리 서버에 있습니다. – Robert