One Hat Cyber Team
Your IP :
216.73.216.80
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
nosc
/
public_html
/
admin
/
lib
/
Swift
/
View File Name :
FileNameMaker.php
<?php /** * Swift Mailer File name making component (to avoid clashes) * Please read the LICENSE file * @copyright Chris Corbyn <chris@w3style.co.uk> * @author Chris Corbyn <chris@w3style.co.uk> * @package Swift_Message * @license GNU Lesser General Public License */ /** * File name maker (makes filenames in sequence) * @package Swift_Message * @author Chris Corbyn <chris@w3style.co.uk> */ class Swift_FileNameMaker { /** * A singleton instance * @var swift_FileNameMaker */ protected static $instance = null; /** * Just a number to increment * @var int */ protected $id = 1; /** * Singleton Factory * @return Swift_FileNameMaker */ public static function instance() { if (self::$instance === null) self::$instance = new Swift_FileNameMaker(); return self::$instance; } /** * Get a unique filename (just a sequence) * @param string the prefix for the filename * @return string */ public function Generate($prefix="file") { return $prefix . ($this->id++); } }