diff --git a/functions/filesystem.xml b/functions/filesystem.xml index 1b34b88f68..0b73d24249 100644 --- a/functions/filesystem.xml +++ b/functions/filesystem.xml @@ -1,5 +1,5 @@ - + Filesystem functions Filesystem @@ -1923,15 +1923,10 @@ if($fp){ Description - - boolis_uploaded_file - stringfilename - - - - This function is available only in versions of PHP 3 after PHP - 3.0.16, and in versions of PHP 4 after 4.0.2. - + + boolis_uploaded_file + stringfilename + Returns &true; if the file named by filename was @@ -1948,6 +1943,43 @@ if($fp){ system. + + is_uploaded_file is available only in + versions of PHP 3 after PHP 3.0.16, and in versions of PHP 4 + after 4.0.2. If you are stuck using an earlier version, you can + use the following function to help protect yourself: + + + This will not work in versions of PHP 4 + after 4.0.2. It depends on internal functionality of PHP which + changed after that version. + + + + +]]> + + + See also move_uploaded_file, and the section Handling file uploads