Function __global->_cms_tempnam

Definitions

sources/files2.php

  • Create file with unique file name, but works around compatibility issues between servers. Note that the file is NOT automatically deleted. You should also delete it using "@unlink", as some servers have problems with permissions.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$prefix string Blank (empty string) N/A N/A The prefix of the temporary file name

Return

  • The name of the temporary file (false: error)
  • Type: ~string
  • Set: N/A
  • Range: N/A