Topics

Function ipUnoccupiedFileName()

ipUnoccupiedFileName — Get unocupied file name in directory. Very useful when storing uploaded files.

Description:

string ipUnoccupiedFileName ( string $dir , string $desiredName , [ boolean $sanitize ] )

Get unocupied file name in directory. Very useful when storing uploaded files.

Package: ImpressPages

Parameters:

string $dir
string $desiredName
boolean $sanitize = true clean up supicious symbols from file name

Return values:

string
comments powered by Disqus