Support Incident Tracker GIT4.x
ftp_publish.php File Reference

Go to the source code of this file.

Variables

 $permission = PERM_FILE_PUBLISH
 $maxVal = 1000000
 $minVal = 1
 $randvala = (mt_rand() % ($maxVal - $minVal)) + $minVal
 $randvalb = (mt_rand() % ($maxVal-$minVal)) + $minVal
 $randomdir = dechex(crc32($randvala.$randvalb))
 $filesize = filesize($source_file)
 $pretty_file_size = readable_bytes_size($filesize)

Variable Documentation

$filesize = filesize($source_file)

Definition at line 35 of file ftp_publish.php.

Referenced by draw_file_row(), RSSCache::get(), and readable_file_size().

$maxVal = 1000000

Definition at line 25 of file ftp_publish.php.

$minVal = 1

Definition at line 26 of file ftp_publish.php.

$permission = PERM_FILE_PUBLISH

Definition at line 15 of file ftp_publish.php.

$pretty_file_size = readable_bytes_size($filesize)

Definition at line 37 of file ftp_publish.php.

$randomdir = dechex(crc32($randvala.$randvalb))

Definition at line 33 of file ftp_publish.php.

$randvala = (mt_rand() % ($maxVal - $minVal)) + $minVal

Definition at line 27 of file ftp_publish.php.

$randvalb = (mt_rand() % ($maxVal-$minVal)) + $minVal

Definition at line 32 of file ftp_publish.php.