Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

set_unique_filename()

Description

Ensures filename is unique in $filenames array and adds resulting filename to the array

Parameters

ColumnTypeDefaultDescription
&$filename
&$filenames
$filename string Requested filename to be added. Passed by reference
$filenames array Array of filenames already in use. Passed by reference

Return

string New filename

This article was last updated 21st April 2021 18:35 Europe/London time based on the source file dated 20th April 2021 21:30 Europe/London time.