file_save_upload

Related topics

Namesort iconDescription
File interfaceCommon file handling functions.

Functions that call file_save_upload()

Namesort iconLocationDescription
file_save_uploadincludes/file.incSaves a file upload to a new location. The source file is validated as a proper upload and handled as such.
system_theme_settingsmodules/system.moduleMenu callback; display theme configuration for entire site and individual themes.
upload_nodeapimodules/upload.moduleImplementation of hook_nodeapi().

Functions called by file_save_upload()

Namesort iconLocationDescription
drupal_set_messageincludes/bootstrap.incSet a message for the user to see.
file_check_uploadincludes/file.incCheck if $source is a valid file upload.
file_moveincludes/file.incMoves a file to a new location. Checks if $source and $dest are valid and readable/writable. Performs a file move if $source is not equal to $dest. If file already exists in $dest either the call will error out, replace the file or rename the file...
file_save_uploadincludes/file.incSaves a file upload to a new location. The source file is validated as a proper upload and handled as such.
tincludes/common.incTranslate strings to the current locale.
variable_getincludes/bootstrap.incReturn a persistent variable.
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.