summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-09-09 11:41:14 +0000
committerZeev Suraski <zeev@php.net>2000-09-09 11:41:14 +0000
commit6c4cb4c0791fa3a0c115789b4d22ecf675438ecb (patch)
tree16824bbb4494c464525b9c963937d112a5e0ad8d /ext/standard/basic_functions.h
parent20fe0a568501bc8ec52f78cc3bf9a7c105e92b35 (diff)
downloadphp-git-6c4cb4c0791fa3a0c115789b4d22ecf675438ecb.tar.gz
Security related updates:
- Introduce php_open_temporary_file(), in place of tempnam(). Still needs testing under UNIX (mkstemp()), works reliably under Windows now. - Reimplement the mechanism for unlinking uploaded files at the end of the request (was it ever tested?). Files moved with move_uploaded_file() will not be unlink()'d again, to avoid (albeit very unlikely) race conditions.
Diffstat (limited to 'ext/standard/basic_functions.h')
-rw-r--r--ext/standard/basic_functions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.h b/ext/standard/basic_functions.h
index 6d15602f73..5151d24ac6 100644
--- a/ext/standard/basic_functions.h
+++ b/ext/standard/basic_functions.h
@@ -110,6 +110,7 @@ PHP_FUNCTION(register_tick_function);
PHP_FUNCTION(unregister_tick_function);
PHP_FUNCTION(is_uploaded_file);
+PHP_FUNCTION(move_uploaded_file);
/* From the INI parser */
PHP_FUNCTION(parse_ini_file);