PageRenderTime 412ms queryTime 31ms sortTime 5ms getByIdsTime 49ms findMatchingLines 112ms

100+ results results for 'uniqid repo:MikeEvans/PHP-Push-2' (412 ms)

Not the results you expected?
user.php http://skeleton.googlecode.com/svn/trunk/ | PHP | 254 lines
                    
92						// Create a random user salt
                    
93						$usersalt = uniqid(mt_rand().time(),true);
                    
94						// Insert user data in db
                    
                
Backend.php https://gitlab.com/culturagovbr/simec | PHP | 290 lines
                    
204        // Attemp to detect by creating a temporary file
                    
205        $tempFile = tempnam(md5(uniqid(rand(), TRUE)), '');
                    
206        if ($tempFile) {
                    
                
field.class.php git://github.com/moodle/moodle.git | PHP | 315 lines
                    
117            $image_options->context = $this->context;
                    
118            $image_options->client_id = uniqid();
                    
119            $image_options->maxbytes = $options['maxbytes'];
                    
126            $media_options->context = $this->context;
                    
127            $media_options->client_id = uniqid();
                    
128            $media_options->maxbytes  = $options['maxbytes'];
                    
135            $link_options->context = $this->context;
                    
136            $link_options->client_id = uniqid();
                    
137            $link_options->maxbytes  = $options['maxbytes'];
                    
                
eztemplateforfunction.php git://github.com/ezsystems/ezpublish.git | PHP | 216 lines
                    
93        $variableStack   = "for_variable_stack_$uniqid";
                    
94        $namesArray = array( "for_firstval_$uniqid", "for_lastval_$uniqid", "for_i_$uniqid" );
                    
95
                    
99
                    
100        $newNodes[] = eZTemplateNodeTool::createVariableNode( false, $parameters['first_val'], $nodePlacement, array( 'treat-value-as-non-object' => true ), "for_firstval_$uniqid" );
                    
101        $newNodes[] = eZTemplateNodeTool::createVariableNode( false, $parameters['last_val'],  $nodePlacement, array( 'treat-value-as-non-object' => true ), "for_lastval_$uniqid"  );
                    
105        // loop header
                    
106        $modifyLoopCounterCode = "\$for_firstval_$uniqid < \$for_lastval_$uniqid ? \$for_i_${uniqid}++ : \$for_i_${uniqid}--"; // . ";\n";
                    
107        $newNodes[] = eZTemplateNodeTool::createCodePieceNode( "for ( \$for_i_$uniqid = \$for_firstval_$uniqid ; ; $modifyLoopCounterCode )\n{" );
                    
113
                    
114        $newNodes[] = eZTemplateNodeTool::createCodePieceNode( "if ( !( \$for_firstval_$uniqid < \$for_lastval_$uniqid ? " .
                    
115                                                               "\$for_i_$uniqid <= \$for_lastval_$uniqid : " .
                    
115                                                               "\$for_i_$uniqid <= \$for_lastval_$uniqid : " .
                    
116                                                               "\$for_i_$uniqid >= \$for_lastval_$uniqid ) )\n" .
                    
117                                                               "   break;\n" );
                    
                
eztemplatecompiledloop.php git://github.com/ezsystems/ezpublish.git | PHP | 300 lines
                    
34        $this->NodePlacement = $nodePlacement;
                    
35        $this->UniqID        = $uniqid;
                    
36        $this->NewNodes      =& $newNodes;
                    
66        $fName      = $this->Name;
                    
67        $uniqid     = $this->UniqID;
                    
68        $this->NewNodes[] = eZTemplateNodeTool::createVariableUnsetNode( "${fName}_sequence_array_$uniqid" );
                    
82        $fName      = $this->Name;
                    
83        $uniqid     = $this->UniqID;
                    
84        $this->NewNodes[] = eZTemplateNodeTool::createCodePieceNode( "// creating sequence variables for \{$fName} loop" );
                    
101        $fName    = $this->Name;
                    
102        $uniqid   = $this->UniqID;
                    
103        $seqVar   = "${fName}_sequence_var_$uniqid";
                    
118        $fName    = $this->Name;
                    
119        $uniqid   = $this->UniqID;
                    
120        $seqArray = "${fName}_sequence_array_$uniqid";
                    
                
VarCloner.php https://gitlab.com/semplon/GeniXCMS.git | PHP | 285 lines
                    
48        if (!$gid = self::$gid) {
                    
49            $gid = self::$gid = uniqid(mt_rand(), true); // Unique string used to detect the special $GLOBALS variable
                    
50        }
                    
                
upload_FA.php https://github.com/severnaya99/Sg-2010.git | PHP | 380 lines
                    
265        } elseif (isset($this->prefix)) {
                    
266            $this->savedFileName = uniqid($this->prefix).'.'.strtolower($matched[1]);
                    
267        } else {
                    
                
Memcacheq.php https://github.com/robeendey/ce.git | PHP | 408 lines
                    
242        $data    = array(
                    
243            'message_id' => md5(uniqid(rand(), true)),
                    
244            'handle'     => null,
                    
293                $data = array(
                    
294                    'handle' => md5(uniqid(rand(), true)),
                    
295                    'body'   => $this->_cache->get($queue->getName()),
                    
                
EpiOAuth.class.php https://github.com/mootools/mootools-forge.git | PHP | 441 lines
                    
198
                    
199    return md5(uniqid(rand(), true));
                    
200  }
                    
                
ArrayAdapter.php https://github.com/zendframework/ZendQueue.git | PHP | 317 lines
                    
151        $data = array(
                    
152            'message_id' => md5(uniqid(rand(), true)),
                    
153            'body'       => $message,
                    
206                ) {
                    
207                    $msg['handle']  = md5(uniqid(rand(), true));
                    
208                    $msg['timeout'] = microtime(true);
                    
                
processors.rst https://github.com/hhamon/symfony-docs.git | ReStructuredText | 248 lines
                    
42
                    
43            $record['extra']['token'] = $this->sessionId.'-'.substr(uniqid('', true), -8);
                    
44
                    
                
Manager.php https://github.com/bertrandom/zf.git | PHP | 464 lines
                    
142         * @todo !!!
                    
143         * uniqid() php function doesn't really garantee the id to be unique
                    
144         * it should be changed by something else
                    
146         */
                    
147        $this->_managerId = uniqid('ZendMemManager', true);
                    
148        $this->_tags = array($this->_managerId);
                    
                
UserModel.php https://bitbucket.org/andrey4korop/iwobox.com.git | PHP | 333 lines
                    
13		 * Extend parents constructor and select entry
                    
14		 * @param mixed $uniqid Value of the unique identifier
                    
15		 */
                    
18	        parent::__construct();
                    
19	        $this->select($uniqid);
                    
20	    }
                    
24	    /**
                    
25	     * Select entry with uniqid
                    
26	     * @param  int|string $uniqid Value of the any unique field
                    
28	     */
                    
29	    public function select($uniqid)
                    
30	    {
                    
30	    {
                    
31	    	if (is_int($uniqid) || ctype_digit($uniqid)) {
                    
32	    		$col = $uniqid > 0 ? "id" : null;
                    
                
EntityManagerTest.php https://github.com/fabpot/doctrine2.git | PHP | 308 lines
                    
271
                    
272        $this->_em->clear(uniqid('nonExisting', true));
                    
273    }
                    
                
Mail.class.php https://bitbucket.org/pipoket/hanu_xe.git | PHP | 353 lines
                    
117                $this->body = $this->header.$this->body;
                    
118                $boundary = '----=='.uniqid(rand(),true);
                    
119                $this->header = "Content-Type: multipart/mixed;".$this->eol."\tboundary=\"".$boundary."\"".$this->eol.$this->eol;
                    
153                $this->body = $this->header.$this->body;
                    
154                $boundary = '----=='.uniqid(rand(),true);
                    
155                $this->header = "Content-Type: multipart/relative;".$this->eol."\ttype=\"multipart/alternative\";".$this->eol."\tboundary=\"".$boundary."\"".$this->eol.$this->eol;
                    
188        function send() {
                    
189            $boundary = '----=='.uniqid(rand(),true);
                    
190            $this->eol = $GLOBALS['_qmail_compatibility'] == "Y" ? "\n" : "\r\n";
                    
                
db_record_lock_factory.php https://github.com/rwijaya/moodle.git | PHP | 254 lines
                    
115            // Fallback uuid generation based on:
                    
116            // "http://www.php.net/manual/en/function.uniqid.php#94959".
                    
117            $uuid = sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x',
                    
                
reqwest.js https://gitlab.com/Blueprint-Marketing/cdnjs | JavaScript | 264 lines
                    
14    , head = doc[byTag]('head')[0]
                    
15    , uniqid = 0
                    
16    , lastValue // data stored by the most recent JSONP callback
                    
54      // Generate a guaranteed unique callback name
                    
55      var callbackName = "reqwest_" + uniqid++
                    
56
                    
                
archive.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 189 lines
                    
63					$config =& JFactory::getConfig();
                    
64					$tmpfname = $config->getValue('config.tmp_path').DS.uniqid('gzip');
                    
65					$gzresult = $adapter->extract($archivename, $tmpfname);
                    
95					$config =& JFactory::getConfig();
                    
96					$tmpfname = $config->getValue('config.tmp_path').DS.uniqid('bzip2');
                    
97					$bzresult = $adapter->extract($archivename, $tmpfname);
                    
                
PaymentController.php https://bitbucket.org/Silali/property_manager.git | PHP | 187 lines
                    
110            $media = MediaUploader::fromSource($file)
                    
111                ->useFilename($tenant."_".$payment_method->slug."_".$date_paid."_".uniqid())
                    
112                ->toDestination('public', 'payments')
                    
134    {
                    
135        $filename = strtolower($title)."_".uniqid();
                    
136        $items = $this->transform($records);
                    
                
ModuleZipManager.php https://bitbucket.org/fanch1/testlb.git | PHP | 214 lines
                    
159        if ($sandboxPath === null) {
                    
160            $sandboxPath = _PS_CACHE_DIR_.'sandbox/'.uniqid().'/';
                    
161            $this->filesystem->mkdir($sandboxPath);
                    
                
question.php https://bitbucket.org/linoyepost/epg_intranet_innokat.git | PHP | 201 lines
                    
169		$mainframe->redirect(
                    
170			AriQuizFrontHelper::addTmplToLink('index.php?option=' . $option . '&task=question&ticketId=' . $ticketId . '&t=' . uniqid('uv_') . '&Itemid=' . $Itemid));
                    
171	}
                    
197		$mainframe->redirect(
                    
198			AriQuizFrontHelper::addTmplToLink('index.php?option=' . $option . '&task=question&ticketId=' . $ticketId . '&t=' . uniqid('uv_') . '&Itemid=' . $Itemid));
                    
199	}
                    
                
carousel.php https://gitlab.com/hop23typhu/list-theme | PHP | 299 lines
                    
174			$container_class = 'pt-carousel animation-'.$hover_animation.' '.$css_suffix;
                    
175			$container_id = uniqid('owl',false);
                    
176			if ($arr_params['lazyload'] == 'yes') {	$lazy_param = ' data-expand="-100"'; $container_class = $container_class.' lazyload'; }
                    
                
admin_plugins_add.php http://snowcms.googlecode.com/svn/trunk/ | PHP | 292 lines
                    
163		// Where should this plugin go..?
                    
164		$filename = plugindir. '/'. uniqid('plugin_');
                    
165		while(file_exists($filename))
                    
166		{
                    
167			$filename = plugindir. '/'. uniqid('plugin_');
                    
168		}
                    
                
cl_blog.php https://bitbucket.org/manojgautam/mercury.git | PHP | 238 lines
                    
14// Element ID
                    
15$blog_id = 'cl_blog_' . str_replace( ".", '-', uniqid("", true) );
                    
16
                    
                
noo_job-loop.php https://gitlab.com/hop23typhu/list-theme | PHP | 130 lines
                    
16			<?php if(!$ajax_item || $ajax_item == null )://ajax item
                    
17				$id_scroll = uniqid('scroll');
                    
18				$attributes = 'id="' . $id_scroll . '" ' . 'class="jobs posts-loop ' . $class . '"' . ( !empty( $paginate ) ? ' data-paginate="'. esc_attr($paginate) .'"' : '' );
                    
                
SyncedFolder.html.twig https://gitlab.com/reyjmc03/puphpet | Twig Template | 131 lines
                    
1{% import "PuphpetMainBundle:front:macros/popover.html.twig" as popover %}
                    
2{% set uniqid = uniqid('vvs_', true) %}
                    
3
                    
4<!-- vagrantfile-local / Shared Folders -->
                    
5<div id="{{ uniqid }}">
                    
6    <div class="panel-heading">
                    
12            <div class="col-md-6">
                    
13                <label for="vagrantfile-local-vm-synced_folder-{{ uniqid }}-source">
                    
14                    Box Sync Folder Source
                    
21                </label>
                    
22                <input type="text" id="vagrantfile-local-vm-synced_folder-{{ uniqid }}-source"
                    
23                       name="vagrantfile-local[vm][synced_folder][{{ uniqid }}][source]"
                    
28            <div class="col-md-6">
                    
29                <label for="vagrantfile-local-vm-synced_folder-{{ uniqid }}-target">
                    
30                    Box Sync Folder Target
                    
                
TemplateTest.php https://bitbucket.org/SallyCMS/0.4 | PHP | 71 lines
                    
12	private static $filename;
                    
13	private static $uniqid;
                    
14
                    
15	public static function setUpBeforeClass() {
                    
16		$uniqid   = 'abc'.uniqid();
                    
17		$filename = 'template.'.$uniqid.'.php';
                    
25 *
                    
26 * @sly name    $uniqid
                    
27 * @sly title   Mein super tolles Template!!!1elf
                    
45		self::$filename = sly_Util_Directory::join($folder, $filename);
                    
46		self::$uniqid   = $uniqid;
                    
47
                    
65
                    
66		$this->assertEquals(self::$uniqid, $service->get(self::$uniqid, 'name'));
                    
67		$this->assertEquals('Mein super tolles Template!!!1elf', $service->getTitle(self::$uniqid));
                    
                
PeerTXStateStub.java https://gitlab.com/kidaa/incubator-geode.git | Java | 248 lines
                    
52                                                          this.proxy.getCache(),
                    
53                                                          this.proxy.getTxId().getUniqId(),
                    
54                                                          getOriginatingMember(),
                    
91          TXRemoteCommitMessage.send(this.proxy.getCache(),
                    
92                                      this.proxy.getTxId().getUniqId(),
                    
93                                      this.getOriginatingMember(),
                    
192    RemoteCommitResponse response = JtaAfterCompletionMessage.send(this.proxy.getCache(),
                    
193        this.proxy.getTxId().getUniqId(),getOriginatingMember(), status, this.target);
                    
194    try {
                    
                
Attribute.php https://github.com/lcf/zf2.git | PHP | 372 lines
                    
258            case self::PASSWORD_HASH_SSHA:
                    
259                $salt    = substr(sha1(uniqid(mt_rand(), true), true), 0, 4);
                    
260                $rawHash = sha1($password . $salt, true) . $salt;
                    
267            case self::PASSWORD_HASH_SMD5:
                    
268                $salt    = substr(sha1(uniqid(mt_rand(), true), true), 0, 4);
                    
269                $rawHash = md5($password . $salt, true) . $salt;
                    
                
LC_Page_Shopping_Multiple.php https://git01.codeplex.com/eccubeonwaz | PHP | 318 lines
                    
71
                    
72        $this->tpl_uniqid = $objSiteSess->getUniqId();
                    
73
                    
74        $this->addrs = $this->getDelivAddrs($objCustomer, $objPurchase,
                    
75                                            $this->tpl_uniqid);
                    
76        $this->tpl_addrmax = count($this->addrs);
                    
78
                    
79        $objPurchase->verifyChangeCart($this->tpl_uniqid, $objCartSess);
                    
80
                    
87                    $_SESSION['multiple_temp'] = $objFormParam->getHashArray();
                    
88                    $this->saveMultipleShippings($this->tpl_uniqid, $objFormParam,
                    
89                                                 $objCustomer, $objPurchase,
                    
174     * @param SC_Helper_Purchase $objPurchase SC_Helper_Purchase ??????
                    
175     * @param integer $uniqid ?????????????ID
                    
176     * @return array ???????????????
                    
                
UserRepository.php https://bitbucket.org/ghanu/chope.git | PHP | 362 lines
                    
110                'active' => isset($data['active']) && $data['active'] == '1' ? 1 : 0,
                    
111                'confirmation_code' => md5(uniqid(mt_rand(), true)),
                    
112                'confirmed' => isset($data['confirmed']) && $data['confirmed'] == '1' ? 1 : 0,
                    
                
sync4.php https://bitbucket.org/rubbystar/musicappbackend.git | PHP | 312 lines
                    
80        $ext = pathinfo($path, PATHINFO_EXTENSION);
                    
81        $dest_filename = md5(uniqid(rand(), true)) . '.' . $ext;
                    
82        $uploadfile = $uploaddir .$dest_filename;
                    
117            $ext = pathinfo($path, PATHINFO_EXTENSION);
                    
118            $dest_filename = md5(uniqid(rand(), true)) . '.' . $ext;
                    
119            $uploadfile = $uploaddir .$dest_filename;
                    
                
ShortcodeFilter.php https://bitbucket.org/hcdesenvolvimentos/tiagobalabuch_site.git | PHP | 224 lines
                    
119            // create unique group identifier
                    
120            $group = uniqid('ejsg');
                    
121
                    
                
restore_lti_stepslib.php https://github.com/moodle/moodle.git | PHP | 285 lines
                    
92        $data->course = $this->get_courseid();
                    
93        $data->servicesalt = uniqid('', true);
                    
94
                    
204            if ($data->name == 'servicesalt') {
                    
205                $data->value = uniqid('', true);
                    
206            }
                    
                
Chooser.php https://gitlab.com/blingbang2016/shop | PHP | 165 lines
                    
56    {
                    
57        $uniqId = Mage::helper('core')->uniqHash($element->getId());
                    
58        $sourceUrl = $this->getUrl('*/cms_page_widget/chooser', array('uniq_id' => $uniqId));
                    
65            ->setSourceUrl($sourceUrl)
                    
66            ->setUniqId($uniqId);
                    
67
                    
                
testimonials.php https://gitlab.com/hop23typhu/list-theme | PHP | 231 lines
                    
138			$container_class = 'pt-testimonials '.$css_suffix;
                    
139			$container_id = uniqid('owl',false);
                    
140			if ($arr_params['lazyload'] == 'yes') {	$lazy_param = ' data-expand="-100"'; $container_class = $container_class.' lazyload'; }
                    
                
OAuth2_Provider.php https://gitlab.com/waltspence/gtd-pad | PHP | 213 lines
                    
115	{
                    
116		$state = md5(uniqid(rand(), TRUE));
                    
117		Laravel\Session::put('state', $state);
                    
                
Phpass_library.php https://github.com/stanbordeaux/bluewhale-study.git | PHP | 258 lines
                    
51
                    
52		$this->random_state = microtime() . (function_exists('getmypid') ? getmypid() : '') . uniqid(rand(), TRUE);
                    
53
                    
                
JACKED.php http://poordecisions.googlecode.com/svn/web/PoorDecisions/trunk/ | PHP | 161 lines
                    
116    		if ($salt === NULL){
                    
117    			$salt = substr(md5(uniqid(rand(), true)), 0, self::$_instance->config->salt_length);
                    
118    		}else{
                    
                
TranslationDebugCommandTest.php https://github.com/fabpot/symfony.git | PHP | 210 lines
                    
76        $this->fs = new Filesystem();
                    
77        $this->translationDir = sys_get_temp_dir().'/'.uniqid('sf_translation', true);
                    
78        $this->fs->mkdir($this->translationDir.'/translations');
                    
126        $this->fs = new Filesystem();
                    
127        $this->translationDir = sys_get_temp_dir().'/'.uniqid('sf_translation', true);
                    
128        $this->fs->mkdir($this->translationDir.'/translations');
                    
                
Value.php https://gitlab.com/blingbang2016/shop | PHP | 288 lines
                    
247
                    
248        $cid = md5(uniqid(time()));
                    
249
                    
                
RateTest.php https://gitlab.com/daigiangaitu91/magento | PHP | 299 lines
                    
57                $postData + [
                    
58                    'code' => 'Rate ' . uniqid(rand()),
                    
59                    'zip_is_range' => '1',
                    
67                $postData + [
                    
68                    'code' => 'Rate ' . uniqid(rand()),
                    
69                    'zip_is_range' => '0',
                    
120                    'tax_region_id' => '0',
                    
121                    'code' => 'Rate ' . uniqid(),
                    
122                    'zip_is_range' => '1',
                    
148                    'tax_region_id' => '0',
                    
149                    'code' => 'Rate ' . uniqid(),
                    
150                    'zip_is_range' => '0',
                    
162                    'tax_region_id' => '0',
                    
163                    'code' => 'Rate ' . uniqid(),
                    
164                    'zip_is_range' => '0',
                    
                
payment.php https://gitlab.com/alexprowars/bitrix | PHP | 106 lines
                    
62
                    
63$var = unpack("H*r", ToUpper(mb_substr(md5(uniqid(30)), 0, 8)));
                    
64$nonce = $var[r];
                    
                
abstract-wc-order-data-store-cpt.php https://bitbucket.org/ngallois/lcsailing.git | PHP | 388 lines
                    
71					'post_title'    => $this->get_post_title(),
                    
72					'post_password' => uniqid( 'order_' ),
                    
73					'post_parent'   => $order->get_parent_id( 'edit' ),
                    
                
buzzOAuth.php http://buzz-php-client.googlecode.com/svn/trunk/ | PHP | 260 lines
                    
87        $callbackUrl = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
                    
88        $uid = uniqid();
                    
89        $token = $auth->obtainRequestToken($callbackUrl, $uid);
                    
                
MockArraySessionStorage.php git://github.com/symfony/symfony.git | PHP | 252 lines
                    
235    {
                    
236        return hash('sha256', uniqid('ss_mock_', true));
                    
237    }
                    
                
AwsS3Test.php git://github.com/knplabs/Gaufrette.git | PHP | 191 lines
                    
32
                    
33        $this->bucket = uniqid(getenv('AWS_BUCKET'));
                    
34
                    
                
file-upload.php https://bitbucket.org/zym-works/hotel_system_api.git | PHP | 49 lines
                    
34			//! unlink old
                    
35			$filename = uniqid() . $regs2[0];
                    
36			if (!move_uploaded_file($_FILES[$name]["tmp_name"], "$this->uploadPath$table/$regs[1]-$filename")) {
                    
                
abstractDigest.js https://github.com/mikedeboer/jsDAV.git | JavaScript | 281 lines
                    
70    initialize: function() {
                    
71        this.nonce = Util.uniqid();
                    
72    },
                    
                
mimePart.php http://ccds.googlecode.com/svn/trunk/ | PHP | 320 lines
                    
205            srand((double)microtime()*1000000);
                    
206            $boundary = '=_' . md5(uniqid(rand()) . microtime());
                    
207            $this->headers['Content-Type'] .= ';' . MAIL_MIMEPART_CRLF . "\t" . 'boundary="' . $boundary . '"';
                    
                
User.php https://gitlab.com/rym/TunisiaMall.web | PHP | 513 lines
                    
125    public function __construct() {
                    
126        $this->salt = base_convert(sha1(uniqid(mt_rand(), true)), 16, 36);
                    
127        $this->enabled = false;
                    
                
database.php git://github.com/eryx/php-framework-benchmark.git | PHP | 239 lines
                    
127			// Create a new session id
                    
128			$id = str_replace('.', '-', uniqid(NULL, TRUE));
                    
129
                    
                
ReflectionClassResourceTest.php git://github.com/fabpot/symfony.git | PHP | 252 lines
                    
97        if (null === $expectedSignature) {
                    
98            eval(sprintf($code, $class = 'Foo'.str_replace('.', '_', uniqid('', true))));
                    
99            $r = new \ReflectionClass(ReflectionClassResource::class);
                    
109        }
                    
110        eval(sprintf(implode("\n", $code), $class = 'Foo'.str_replace('.', '_', uniqid('', true))));
                    
111        $signature = implode("\n", iterator_to_array($generateSignature(new \ReflectionClass($class))));
                    
                
Cache.php https://github.com/jorgenils/zend-framework.git | PHP | 292 lines
                    
219            try {
                    
220                $data['handle'] = md5(uniqid(rand(), true));
                    
221                $msgs[] = $data;
                    
266        $data = array(
                    
267            'message_id' => md5(uniqid(rand(), true)),
                    
268            'handle'     => null,
                    
                
HTML.php https://bitbucket.org/23289368/coursework2.git | PHP | 245 lines
                    
241        $metaTemplate = new \Text_Template($this->templatePath . 'substeps.html');
                    
242        $metaTemplate->setVar(['metaStep' => $metaStep, 'steps' => $substepsBuffer, 'id' => uniqid()]);
                    
243        return $metaTemplate->render();
                    
                
HomeController.php https://gitlab.com/jpg/roomastic | PHP | 305 lines
                    
138            //if ($form['imagen']->getData() !== null ) {
                    
139            $someNewFilename = md5(uniqid(microtime(), true)) . '.png';
                    
140            $form['imagen']->getData()->move($this->get('kernel')->getRootDir() . "/../web/uploads/home", $someNewFilename);
                    
218            } else {
                    
219                $someNewFilename1 = md5(uniqid(microtime(), true)) . '.png';
                    
220                $editForm['imagen']->getData()->move($this->get('kernel')->getRootDir() . "/../web/uploads/home", $someNewFilename1);
                    
                
Semister.php https://gitlab.com/mehedi-xion/web_apps_php_26 | PHP | 164 lines
                    
72
                    
73		$query = "INSERT INTO `web_apps_php_26`.`semister` (`id`, `name`, `semister`, `offer`, `cost`, `waiver`, `total`, `unique_id`) VALUES (NULL, '$this->name', '$this->semister', '$this->offer', '$this->cost', '$this->waiver', '$this->total','".uniqid()."')";
                    
74
                    
                
Cli.php http://shozu.googlecode.com/svn/trunk/ | PHP | 216 lines
                    
21            {
                    
22                $password = strtolower(substr(uniqid(), -6));
                    
23            }
                    
                
helper.php http://jfusion.googlecode.com/svn/trunk/ | PHP | 161 lines
                    
94            if(empty($dokuwiki_cookie_salt)){
                    
95                $dokuwiki_cookie_salt = uniqid(rand(),true);
                    
96                JFile::write($saltfile,$dokuwiki_cookie_salt);
                    
                
outcomingeventmanager.php https://gitlab.com/alexprowars/bitrix | PHP | 460 lines
                    
234			'NAME' => self::ATTACHMENT_NAME,
                    
235			'ID' => ICalUtil::getUniqId(),
                    
236		]];
                    
349			'NAME' => self::ATTACHMENT_NAME,
                    
350			'ID' => ICalUtil::getUniqId(),
                    
351		]];
                    
370			'NAME' => self::ATTACHMENT_NAME,
                    
371			'ID' => ICalUtil::getUniqId(),
                    
372		]];
                    
                
helper.php https://gitlab.com/endomorphosis/greenrenaissancejoomla | PHP | 278 lines
                    
114		// Temporary folder to extract the archive into
                    
115		$tmpdir = uniqid('install_');
                    
116
                    
                
install.php https://github.com/PHPFrame/Mashine.git | PHP | 247 lines
                    
36  $dummy_content = (bool) @$_POST["dummy_content"];
                    
37  $secret        = md5(uniqid());
                    
38
                    
109  $eb_path = $install_dir.DS."lib".DS."BackupServer";
                    
110  $eb_pass = md5(uniqid(rand()));
                    
111  $cmd  = "htpasswd -bc ".$eb_path.DS.".htpasswd";
                    
                
JobBackupTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 92 lines
                    
23        parent::setUp();
                    
24        $this->backupFilename = uniqid('test_backup') . '.zip';
                    
25        $this->backupPath = TESTS_TEMP_DIR . '/backup/';
                    
                
utility-class.php https://bitbucket.org/awylie199/s5t.git | PHP | 417 lines
                    
12		if ( ! empty( $_ENV['TEMP'] ) ) { return realpath( $_ENV['TEMP'] ); }
                    
13		$tempfile = tempnam( uniqid( rand(),TRUE ),'' );
                    
14		if ( @file_exists( $tempfile ) ) {
                    
                
Csv.php https://gitlab.com/israel.correa/Expresso.git | PHP | 294 lines
                    
270    {
                    
271        return ($this->_toStdout) ? 'STDOUT' : Tinebase_Core::getTempDir() . DIRECTORY_SEPARATOR . md5(uniqid(rand(), true)) . '.csv';
                    
272    }
                    
                
ConfigurationTest.php https://bitbucket.org/marketing_alfatec/colette.git | PHP | 243 lines
                    
107		}
                    
108		$dummy = rtrim($dir, '\\/').DIRECTORY_SEPARATOR.uniqid();
                    
109		if (@file_put_contents($dummy, 'test'))
                    
                
GatewayTestCase.php https://bitbucket.org/tecsecret/central-tecsecret.git | PHP | 354 lines
                    
37            $setter = 'set'.ucfirst($this->camelCase($key));
                    
38            $value = uniqid();
                    
39
                    
191                $setter = 'set'.ucfirst($this->camelCase($key));
                    
192                $value = uniqid();
                    
193                $this->gateway->$setter($value);
                    
208                $setter = 'set'.ucfirst($this->camelCase($key));
                    
209                $value = uniqid();
                    
210                $this->gateway->$setter($value);
                    
225                $setter = 'set'.ucfirst($this->camelCase($key));
                    
226                $value = uniqid();
                    
227                $this->gateway->$setter($value);
                    
242                $setter = 'set'.ucfirst($this->camelCase($key));
                    
243                $value = uniqid();
                    
244                $this->gateway->$setter($value);
                    
                
index.php https://gitlab.com/issei-m/spike-php.git | PHP | 59 lines
                    
32    ->addProduct(
                    
33        (new \Issei\Spike\Model\Product(uniqid('product-', true)))
                    
34            ->setTitle('Title')
                    
                
msds_hazardcom.icss.yaml https://github.com/gyenyame/infochimps-data.git | YAML | 39 lines
                    
37handle:  msds_hazardcom
                    
38uniqid2: material_safety_data_sheets_msds
                    
39
                    
                
class-wc-admin-webhooks.php https://gitlab.com/hotrainer/zarmani | PHP | 514 lines
                    
193			'post_author'   => get_current_user_id(),
                    
194			'post_password' => strlen( ( $password = uniqid( 'webhook_' ) ) ) > 20 ? substr( $password, 0, 20 ) : $password,
                    
195			'post_title'    => sprintf( __( 'Webhook created on %s', 'woocommerce' ), strftime( _x( '%b %d, %Y @ %I:%M %p', 'Webhook created on date parsed by strftime', 'woocommerce' ) ) ),
                    
                
PluginInstallerTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 184 lines
                    
38        $this->packages = array();
                    
39        $this->directory = sys_get_temp_dir() . '/' . uniqid();
                    
40        for ($i = 1; $i <= 4; $i++) {
                    
                
edit_one_to_one.html.twig git://github.com/sonata-project/SonataAdminBundle.git | Twig Template | 100 lines
                    
25                        'objectId': sonata_admin.field_description.associationadmin.id(sonata_admin.value),
                    
26                        'uniqid':   sonata_admin.field_description.associationadmin.uniqid,
                    
27                        'linkParameters': sonata_admin.field_description.options.link_parameters
                    
                
Security_test.php https://gitlab.com/project-store/CodeIgniter.git | PHP | 335 lines
                    
7		// Set cookie for security test
                    
8		$_COOKIE['ci_csrf_cookie'] = md5(uniqid(mt_rand(), TRUE));
                    
9
                    
321		// Set cookie for security test
                    
322		$_COOKIE['ci_csrf_cookie'] = md5(uniqid(mt_rand(), TRUE));
                    
323
                    
                
pusher.php git://github.com/mageekguy/atoum.git | PHP | 273 lines
                    
47			->then
                    
48				->object($pusher->setRemote($remote = uniqid()))->isIdenticalTo($pusher)
                    
49				->string($pusher->getRemote())->isEqualTo($remote)
                    
59			->then
                    
60				->object($pusher->setTagFile($tagFile = uniqid()))->isIdenticalTo($pusher)
                    
61				->string($pusher->getTagFile())->isEqualTo($tagFile)
                    
85			->then
                    
86				->object($pusher->setWorkingDirectory($workingDirectory = uniqid()))->isIdenticalTo($pusher)
                    
87				->string($pusher->getWorkingDirectory())->isEqualTo($workingDirectory)
                    
204				$pusher->tagPatchVersion(),
                    
205				$this->calling($git)->pushTag->throw = $exception = new \exception(uniqid())
                    
206			)
                    
215			->if(
                    
216				$this->calling($git)->push->throw = $exception = new \exception(uniqid())
                    
217			)
                    
                
BlobStorageSharedAccessTest.php https://PHPAzure.svn.codeplex.com/svn | PHP | 237 lines
                    
90        $storageClient = $this->createAdministrativeStorageInstance();
                    
91        for ($i = 1; $i <= self::$uniqId; $i++)
                    
92        {
                    
135    
                    
136    protected static $uniqId = 0;
                    
137    
                    
139    {
                    
140        self::$uniqId++;
                    
141        return TESTS_BLOBSA_CONTAINER_PREFIX . self::$uniqId;
                    
                
OpportunitiesByLeadSourceDashlet.php https://bitbucket.org/allexblacker/suitecrm.git | PHP | 254 lines
                    
96        $chartReadyData = $this->prepareChartData($data, $currency_symbol, $thousands_symbol);
                    
97        $canvasId = 'rGraphLeadSource'.uniqid();
                    
98        $chartWidth     = 900;
                    
                
Ultimate_Gradient.php https://bitbucket.org/youresolutions/sheffieldcareservices.yes1.co.uk.git | PHP | 243 lines
                    
34
                    
35			$uni = uniqid();
                    
36			$output = '<div class="vc_ug_control" data-uniqid="'.esc_attr( $uni ).'" data-color1="'.esc_attr( $color1 ).'" data-color2="'.esc_attr( $color2 ).'">';
                    
37			//$output .= '<div class="wpb_element_label" style="margin-top: 10px;">'.__('Gradient Type','upb_parallax').'</div>
                    
38			$output .= '<select id="grad_type'.esc_attr( $uni ).'" class="grad_type" data-uniqid="'.esc_attr( $uni ).'">
                    
39				<option value="vertical">'.__('Vertical','ultimate_vc').'</option>
                    
42			</select>
                    
43			<div id="grad_type_custom_wrapper'.esc_attr( $uni ).'" class="grad_type_custom_wrapper" style="display:none;"><input type="number" id="grad_type_custom'.esc_attr( $uni ).'" placeholder="45" data-uniqid="'.esc_attr( $uni ).'" class="grad_custom" style="width: 200px; margin-bottom: 10px;"/> deg</div>';
                    
44			$output .= '<div class="wpb_element_label" style="margin-top: 10px;">'.__('Choose Colors','ultimate_vc').'</div>';
                    
59						jQuery('.grad_type').change(function(){
                    
60							var uni = jQuery(this).data('uniqid');
                    
61							var hid = "#grad_hold"+uni;
                    
88						jQuery('.grad_custom').on('keyup',function() {
                    
89							var uni = jQuery(this).data('uniqid');
                    
90							var hid = "#grad_hold"+uni;
                    
                
Database.php https://gitlab.com/Kewai/base | PHP | 423 lines
                    
40        $this->nameDB = $nameDB;
                    
41        $this->unique = uniqid();
                    
42
                    
                
FileLoaderTest.php git://github.com/concrete5/concrete5.git | PHP | 145 lines
                    
45        $this->loader = new FileLoader($this->files = new Filesystem());
                    
46        $this->group = md5(time() . uniqid());
                    
47        $this->namespace = md5(time() . uniqid());
                    
47        $this->namespace = md5(time() . uniqid());
                    
48        $this->environment = md5(time() . uniqid());
                    
49
                    
                
Doc.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 84 lines
                    
39	$active_app = Router::getApplication();
                    
40	$file = md5(uniqid());
                    
41
                    
                
deepsight_datatable_class_test.php https://github.com/remotelearner/elis.cm.git | PHP | 198 lines
                    
92        global $DB;
                    
93        return new deepsight_datatable_class_mock($DB, 'test', 'http://localhost', 'testuniqid');
                    
94    }
                    
                
bills.py https://github.com/JoeGermuska/openstates.git | Python | 391 lines
                    
138        page.make_links_absolute(url)
                    
139        uniqid = 0
                    
140
                    
141        for row in page.xpath('//table/tr')[1:]:
                    
142            uniqid += 1
                    
143            date = row.xpath('string(td[1])')
                    
199            bill.add_action(actor, action, date, type=type,
                    
200                            _vote_id=uniqid)
                    
201
                    
210                    self.parse_html_vote(bill, actor, date, action,
                    
211                                         vote_url, uniqid)
                    
212                else:
                    
213                    self.parse_vote(bill, actor, date, action,
                    
214                                    vote_url, uniqid)
                    
215
                    
                
PluginmmMedia.class.php https://github.com/xavierlacot/mediatorMediaLibraryPlugin.git | PHP | 474 lines
                    
313    {
                    
314      $this->setUuid(uniqid('', true));
                    
315    }
                    
                
affiliate.php https://bitbucket.org/vsepessarii/vsepessarii.git | PHP | 256 lines
                    
3	public function addAffiliate($data) {
                    
4      	$this->db->query("INSERT INTO " . DB_PREFIX . "affiliate SET firstname = '" . $this->db->escape($data['firstname']) . "', lastname = '" . $this->db->escape($data['lastname']) . "', email = '" . $this->db->escape($data['email']) . "', telephone = '" . $this->db->escape($data['telephone']) . "', fax = '" . $this->db->escape($data['fax']) . "', salt = '" . $this->db->escape($salt = substr(md5(uniqid(rand(), true)), 0, 9)) . "', password = '" . $this->db->escape(sha1($salt . sha1($salt . sha1($data['password'])))) . "', company = '" . $this->db->escape($data['company']) . "', address_1 = '" . $this->db->escape($data['address_1']) . "', address_2 = '" . $this->db->escape($data['address_2']) . "', city = '" . $this->db->escape($data['city']) . "', postcode = '" . $this->db->escape($data['postcode']) . "', country_id = '" . (int)$data['country_id'] . "', zone_id = '" . (int)$data['zone_id'] . "', code = '" . $this->db->escape($data['code']) . "', commission = '" . (float)$data['commission'] . "', tax = '" . $this->db->escape($data['tax']) . "', payment = '" . $this->db->escape($data['payment']) . "', cheque = '" . $this->db->escape($data['cheque']) . "', paypal = '" . $this->db->escape($data['paypal']) . "', bank_name = '" . $this->db->escape($data['bank_name']) . "', bank_branch_number = '" . $this->db->escape($data['bank_branch_number']) . "', bank_swift_code = '" . $this->db->escape($data['bank_swift_code']) . "', bank_account_name = '" . $this->db->escape($data['bank_account_name']) . "', bank_account_number = '" . $this->db->escape($data['bank_account_number']) . "', status = '" . (int)$data['status'] . "', date_added = NOW()");       	
                    
5	}
                    
10      	if ($data['password']) {
                    
11        	$this->db->query("UPDATE " . DB_PREFIX . "affiliate SET salt = '" . $this->db->escape($salt = substr(md5(uniqid(rand(), true)), 0, 9)) . "', password = '" . $this->db->escape(sha1($salt . sha1($salt . sha1($data['password'])))) . "' WHERE affiliate_id = '" . (int)$affiliate_id . "'");
                    
12      	}
                    
                
message_drawer_view_settings_body_content_notification_preferences.mustache https://github.com/moodle/moodle.git | Mustache | 51 lines
                    
40        <div class="custom-control custom-switch">
                    
41            <input type="checkbox" class="custom-control-input" id="{{name}}-{{uniqid}}"
                    
42                data-name="{{name}}"
                    
45            >
                    
46            <label class="custom-control-label" for="{{name}}-{{uniqid}}">
                    
47                {{displayname}}{{#locked}} ({{lockedmessage}}){{/locked}}
                    
                
Randomid.php https://github.com/moodle/moodle.git | PHP | 77 lines
                    
39        $elts = array(
                    
40            uniqid(),
                    
41            mt_rand(),
                    
                
notify.js https://bitbucket.org/aavilal/vinnerensite.git | JavaScript | 282 lines
                    
1import { sendNotify } from '../utils/utils.js';
                    
2import uniqid from 'uniqid';
                    
3
                    
31    const { title, body, iconName, bucketIconName, bucketIconUrl, imgName, bucketImgName, bucketImgUrl, dateSend, timeSend, url } = req.body;
                    
32    let id = uniqid();
                    
33    let type = 'Scheduled';
                    
163    const { title, body, iconName, bucketIconName, bucketIconUrl, imgName, bucketImgName, bucketImgUrl, url } = req.body;
                    
164    let id = uniqid();
                    
165    let dateSend = new Date();
                    
                
reset.php https://github.com/teffalump/ShareHere.git | PHP | 99 lines
                    
70            
                    
71            $new_password=substr(md5(uniqid(mt_rand(), true)), 0, 15);
                    
72            $new_hash = generateHash($new_password, USER_SALT);
                    
                
HttpRequest.php git://github.com/dzuelke/PHPCouch.git | PHP | 138 lines
                    
101			
                    
102			$boundary = md5(uniqid(mt_rand(), true));
                    
103			
                    
                
DeleteMultipleCest.php git://github.com/phalcon/cphalcon.git | PHP | 115 lines
                    
21
                    
22use function uniqid;
                    
23
                    
41
                    
42        $key1 = uniqid();
                    
43        $key2 = uniqid();
                    
43        $key2 = uniqid();
                    
44        $key3 = uniqid();
                    
45        $key4 = uniqid();
                    
                
apu_subscribers.php git://pkgs.fedoraproject.org/ser | PHP | 355 lines
                    
144
                    
145//        Header("Location: ".$sess->url("users.php?kvrk=".uniqID("")."&m_user_deleted=".RawURLEncode($usr->uname."@".$usr->domain)));
                    
146	}
                    
165
                    
166		$this->pager['url']=$_SERVER['PHP_SELF']."?kvrk=".uniqid("")."&act_row=";
                    
167		$this->pager['pos']=$data->get_act_row();
                    
174			$this->subscribers[$key]['url_dele'] = 
                    
175				$sess->url($_SERVER['PHP_SELF']."?kvrk=".uniqID("").
                    
176						"&sc_dele=".RawURLEncode($this->opt['instance_id']).
                    
                
User.php https://github.com/leftnode/tuneto.us.git | PHP | 79 lines
                    
61		/**
                    
62		 * While it's not good to use sha1() on a uniqid, this isn't for
                    
63		 * encryption purposes, just random string generation purposes.
                    
64		 */
                    
65		$uniqid = uniqid(NULL, true);
                    
66		$uniqid_sha1 = sha1($uniqid);
                    
67		
                    
68		$char1 = substr($uniqid_sha1, 0, 1);
                    
69		$char2 = substr($uniqid_sha1, 1, 1);
                    
70		
                    
71		$directory = $char1 . DS . $char2 . DS . $uniqid;
                    
72		$full_path = DIR_PRIVATE . $directory;
                    
                
string.class.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 234 lines
                    
15    {
                    
16        $charid = md5(uniqid(mt_rand(), true));
                    
17        $hyphen = chr(45);// "-"
                    
                
Register.php https://gitlab.com/phpcodeinfected/owncms | PHP | 63 lines
                    
44    public function signUp(){
                    
45        $this->uniqueid=  uniqid();
                    
46        $stmt="insert into users (id,unique_id,username,password,email) values (:id,:unique_id,:username,:password,:email)";
                    
                
mywishlist.php https://bitbucket.org/eljosze94/automasterstore.git | PHP | 246 lines
                    
94						srand($s * $us);
                    
95						$wishlist->token = strtoupper(substr(sha1(uniqid(rand(), true)._COOKIE_KEY_.$this->context->customer->id), 0, 16));
                    
96						$wishlist->add();
                    
                
WSAPP.php https://gitlab.com/hop23typhu/list-theme | PHP | 151 lines
                    
130        $type  ="user";
                    
131        $uid = uniqid();
                    
132        $db->pquery("INSERT INTO vtiger_wsapp (name, appkey,type) VALUES(?,?,?)", array($appName, $uid,$type));
                    
                
string_helper.php https://gitlab.com/nightcrawlingz/kurikulum | PHP | 307 lines
                    
228
                    
229						return md5(uniqid(mt_rand()));
                    
230				break;
                    
236
                    
237						return do_hash(uniqid(mt_rand(), TRUE), 'sha1');
                    
238				break;
                    
                
Compiler.php https://gitlab.com/fabian.morales/Mezanine | PHP | 278 lines
                    
275    {
                    
276        return sprintf('__internal_%s', hash('sha256', uniqid(mt_rand(), true), false));
                    
277    }
                    
                
login.php https://bitbucket.org/seezoo/seezoo/ | PHP | 262 lines
                    
118	{
                    
119		$ticket = md5(uniqid(mt_rand(), TRUE));
                    
120		$this->session->set_userdata($this->ticket_name, $ticket);
                    
                
Base.php https://github.com/AntoDRFC/The-Art-House.git | PHP | 245 lines
                    
179	{
                    
180		$token = md5(uniqid(rand(), TRUE));
                    
181		$time  = time();
                    
                
functions.inc.php https://gitlab.com/BGCX261/zona-cal-svn-to-git.git | PHP | 317 lines
                    
83		// give it a unique uid TODO: look this up to make sure i am doing it right.
                    
84		$uid = uniqid('-', true);
                    
85		// save the pending event to a file
                    
                
light_editor.php https://gitlab.com/alexprowars/bitrix | PHP | 359 lines
                    
8		$basePath = '/bitrix/js/fileman/light_editor/';
                    
9		$this->Id = (isset($arParams['id']) && $arParams['id'] <> '') ? $arParams['id'] : 'bxlhe'.mb_substr(uniqid(mt_rand(), true), 0, 4);
                    
10		$this->Id = preg_replace("/[^a-zA-Z0-9_:\.]/is", "", $this->Id);
                    
                
request.rb https://github.com/richardc/marionette-collective.git | Ruby | 62 lines
                    
4    class Request
                    
5      attr_accessor :time, :action, :data, :sender, :agent, :uniqid, :caller, :ddl
                    
6
                    
12        @agent = msg[:body][:agent]
                    
13        @uniqid = msg[:requestid]
                    
14        @caller = msg[:callerid] || "unknown"
                    
57                        :callerid => @callerid,
                    
58                        :uniqid   => @uniqid}).to_json
                    
59      end
                    
                
admlnk.php https://github.com/jacadym/picman.git | PHP | 88 lines
                    
52if ($page_id) {
                    
53	$result = db_query("SELECT G.id AS id, G.name AS name, C.id AS cid FROM {collections} G, {categories} C WHERE G.id = $page_id AND G.uid_cat = C.uniqid");
                    
54	if (db_num_rows($result)) {
                    
                
pay.paypal.php https://github.com/klaus67/revsense-ad-server---version-2.5.git | PHP | 181 lines
                    
65		// Save the payment attempt
                    
66		$tok = md5(uniqid(rand(), true));
                    
67		$i = array();
                    
                
cli.php git://github.com/mageekguy/atoum.git | PHP | 192 lines
                    
70			->and($testController = new mock\controller())
                    
71			->and($testController->getTestedClassName = uniqid())
                    
72			->and($test = new \mock\mageekguy\atoum\test($adapter))
                    
106			->and($testController = new mock\controller())
                    
107			->and($testController->getTestedClassName = uniqid())
                    
108			->and($test = new \mock\mageekguy\atoum\test($adapter))
                    
149			->and($customField->setPrompt($prompt = new prompt(uniqid())))
                    
150			->and($customField->setColorizer($colorizer = new colorizer(uniqid(), uniqid())))
                    
151			->and($customField->setLocale($locale = new locale()))
                    
                
message.php https://github.com/condesan/infoandina.git | PHP | 22 lines
                    
19<b>[URL:</b>http://www.ejemplo.org/direcci&oacute;n/al/fichero.html<b>]</b></p>
                    
20<p>Puede incluir la siguiente informaci&oacute;n del usuario en esta URL: email, foreignkey, id y uniqid.</br>
                    
21<b>[URL:</b>http://www.ejemplo.org/perfilusuario.php?email=<b>[</b>email<b>]]</b><br/>
                    
                
filepicker.php https://github.com/hit-moodle/moodle.git | PHP | 141 lines
                    
71
                    
72        $client_id = uniqid();
                    
73
                    
                
hash_helper.php https://github.com/NAzT/Dominater-Framework.git | PHP | 145 lines
                    
56                . DIRECTORY_SEPARATOR
                    
57                . uniqid('temp');
                    
58        if (!($f = @fopen($temp, 'wb'))) {
                    
                
baobab.js https://gitlab.com/Mirros/cdnjs | JavaScript | 256 lines
                    
15
                    
16var uniqid = (function() {
                    
17  var i = 0;
                    
117    if (type.Function(step) || type.Object(step))
                    
118      return '$' + uniqid() + '$';
                    
119    else
                    
                
script.js https://gitlab.com/alexprowars/bitrix | JavaScript | 280 lines
                    
88		this.buttonIds.forEach(function(buttonId) {
                    
89			var button = BX.UI.ButtonManager.createByUniqId(buttonId);
                    
90			if (button)
                    
                
photo.php https://github.com/inoves/ModInoves.git | PHP | 67 lines
                    
23		list($name, $ext)=explode('.',$file['name']);
                    
24		$photo->name = uniqid().'.'.$ext;
                    
25		$photo->save();
                    
                
filemanager.php git://pkgs.fedoraproject.org/moodle | PHP | 343 lines
                    
135
                    
136        $client_id = uniqid();
                    
137
                    
182            'subdirs'=>0,
                    
183            'client_id'=>uniqid(),
                    
184            'accepted_types'=>'*',
                    
234 *       subdirs=>false,
                    
235 *       client_id=>uniqid(),
                    
236 *       acepted_types=>'*',
                    
                
pp_login.php https://gitlab.com/firstrate/firstrate | PHP | 217 lines
                    
122					'fax'               => '',
                    
123					'password'          => uniqid(rand(), true),
                    
124					'company'           => '',
                    
                
xmlbulletin.model.php https://github.com/eijin/xmlbulletin.git | PHP | 348 lines
                    
47			'updated' => '{date("Y-m-d H:i:s")}',
                    
48			'id' => 'tag:smallmake.com,{date("Y-m-d")},{uniqid()}',
                    
49			'generator' => 'xmlbulletine'
                    
59				'title' => '',
                    
60				'id'		=> 'tag:smallmake.com,{date("Y-m-d")},{uniqid()}',
                    
61				'published' => '{date("Y-m-d H:i:s")}',
                    
                
auto_attendant.php https://github.com/vir/freesentral.git | PHP | 289 lines
                    
29
                    
30$ourcallid = "auto_attendant/" . uniqid(rand(),1);
                    
31
                    
                
reqwest.js https://gitlab.com/Mirros/cdnjs | JavaScript | 252 lines
                    
19
                    
20  var uniqid = 0;
                    
21  // data stored by the most recent JSONP callback
                    
51      // Generate a guaranteed unique callback name
                    
52      var callbackName = "reqwest_" + uniqid++;
                    
53
                    
                
reqwest.js https://gitlab.com/Mirros/cdnjs | JavaScript | 251 lines
                    
26
                    
27  var uniqid = 0;
                    
28
                    
55      // Generate a guaranteed unique callback name
                    
56      var callbackName = "reqwest_" + uniqid++;
                    
57
                    
                
MCryptTest.php https://github.com/carmenpopescu/Q.git | PHP | 185 lines
                    
23		$this->Decrypt_MCrypt = new Transform_Decrypt_MCrypt(array('method'=>'blowfish', 'secret'=>'s3cret'));
                    
24        $this->file = sys_get_temp_dir() . '/q-crypt_test-' . md5(uniqid());
                    
25		
                    
                
facebook.php https://bitbucket.org/encapsulator/link-directory.git | PHP | 226 lines
                    
100    $base_domain = $this->getBaseDomain();
                    
101    $this->sharedSessionID = md5(uniqid(mt_rand(), true));
                    
102    $cookie_value = $this->makeSignedRequest(
                    
                
NhifMobController.php https://bitbucket.org/milleagallo/afyapepe_millie.git | PHP | 272 lines
                    
48        
                    
49        $docPath = uniqid() . '.' . $docFile->getClientOriginalExtension();
                    
50        $docFile->move(public_path() . '/nhif_documents/', $docPath);
                    
66            case 3:
                    
67                $passportPath = uniqid() . '.' . $docFile->getClientOriginalExtension();
                    
68                $passport->move(storage_path() . '/nhif_passports/', $passportPath);
                    
86            case 2:
                    
87                $passportPath = uniqid() . '.' . $docFile->getClientOriginalExtension();
                    
88                $passport->move(storage_path() . '/nhif_passports/', $passportPath);
                    
102            case 1:
                    
103                $pinPath = uniqid() . '.' . $passport->getClientOriginalExtension();
                    
104                $passport->move(storage_path() . '/nhif_pins/', $pinPath);
                    
170        if($docFile != null) {
                    
171            $docPath = uniqid() . '.' . $docFile->getClientOriginalExtension();
                    
172            
                    
                
gpm.php https://bitbucket.org/nick_zou/dialsmart-grav.git | PHP | 387 lines
                    
212        $tmp_dir = Grav::instance()['locator']->findResource('tmp://', true, true);
                    
213        $tmp_zip = $tmp_dir . '/Grav-' . uniqid();
                    
214
                    
221        if (file_exists($zip)) {
                    
222            $tmp_source = $tmp_dir . '/Grav-' . uniqid();
                    
223            $extracted  = Installer::unZip($zip, $tmp_source);
                    
311
                    
312        $tmp_dir = Admin::getTempDir() . '/Grav-' . uniqid();
                    
313        Folder::mkdir($tmp_dir);
                    
371        $update = $upgrader->getAssets()['grav-update'];
                    
372        $tmp    = Admin::getTempDir() . '/Grav-' . uniqid();
                    
373        $file   = self::_downloadSelfupgrade($update, $tmp);
                    
                
TokenGenerator.php https://github.com/gimler/FOSUserBundle.git | PHP | 62 lines
                    
59
                    
60        return hash('sha256', uniqid(mt_rand(), true), true);
                    
61    }
                    
                
transfers_manager.h http://cebmtpchat.googlecode.com/svn/trunk/ | C Header | 129 lines
                    
120    QStringList getCommandArguments(const QString &data);
                    
121    int getUniqId() const;
                    
122
                    
                
 

Source

Language