Function __global->get_temporary_upload_path

Definitions

sources/uploads.php

  • Take an uploaded file and move it into the software's temporary directory, for future processing outside this web request.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$attach_name string required parameter N/A N/A Field name
$prepend_session_id boolean False N/A N/A Prepend the current session ID to the beginning of the filename without returning it in the path (security), 'sessioning'
$unsessioned_filename ?string Null N/A N/A The unsessioned filename (null: not set yet)

Return

  • Upload path
  • Type: PATH
  • Set: N/A
  • Range: N/A