100+ results results for 'uniqid repo:jcplat/console-seolan' (172 ms)
210 // Attemp to detect by creating a temporary file 211 $tempFile = tempnam(md5(uniqid(rand(), TRUE)), ''); 212 if ($tempFile) {ArrayAdapter.php https://gitlab.com/koodersmiikka/operaatio-terveys | PHP | 316 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);Memcacheq.php https://github.com/grandison/budo16.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()),field.class.php https://github.com/mchurchward/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'];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 dbclass.file.php https://bitbucket.org/frchico/chamilo_openshift.git | PHP | 436 lines
93 $path = addTrailingSlash($path); 94 $tmp = uniqid(time()); 95 if (@touch($path . $tmp))restore_lti_stepslib.php https://gitlab.com/unofficial-mirrors/moodle | 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 }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" );Attribute.php https://bitbucket.org/juan_sanchez/aiyellow.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;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 {EpiOAuth.class.php https://github.com/mootools/mootools-forge.git | PHP | 441 lines
198 199 return md5(uniqid(rand(), true)); 200 }processors.rst https://github.com/hhamon/symfony-docs.git | ReStructuredText | 248 lines
42 43 $record['extra']['token'] = $this->sessionId.'-'.substr(uniqid('', true), -8); 44Manager.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 }ProductExternalTest.php https://gitlab.com/axeltizon/magento-demopoweraccess | PHP | 352 lines
282 283 $optionId = uniqid(); 284 $option = $this->objectManager->create(reqwest.js https://gitlab.com/Mirros/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++ 56Mail.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";function.uniqid.html https://bitbucket.org/stillzhl/manuals.git | HTML | 150 lines
15 <h1 class="refname">uniqid</h1> 16 <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">uniqid</span> — <span class="dc-title">生成一个唯一ID</span></p> 17 19 20 <div class="refsect1 description" id="refsect1-function.uniqid-description"> 21 <h3 class="title">说明</h3> 22 <div class="methodsynopsis dc-description"> 23 <span class="type">string</span> <span class="methodname"><strong>uniqid</strong></span> 24 ([ <span class="methodparam"><span class="type">string</span> <code class="parameter">$prefix</code><span class="initializer"> = ""</span></span> 60 <p class="para"> 61 如果设置为 <strong><code>TRUE</code></strong>, <span class="function"><strong>uniqid()</strong></span> 会在返回的字符串结尾增加额外的煽(使用combined linear congruential generator)。 62 使得唯一ID更具唯一性。 88<div class="phpcode"><code><span style="color: #000000"> 89<span style="color: #0000BB"><?php<br /></span><span style="color: #FF8000">/* A uniqid, like: 4b3403665fea6 */<br /></span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"uniqid(): %s\r\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">uniqid</span><span style="color: #007700">());<br /><br /></span><span style="color: #FF8000">/* We can also prefix the uniqid, this the same as <br /> * doing:<br /> *<br /> * $uniqid = $prefix . uniqid();<br /> * $uniqid = uniqid($prefix);<br /> */<br /></span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"uniqid('php_'): %s\r\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">uniqid</span><span style="color: #007700">(</span><span style="color: #DD0000">'php_'</span><span style="color: #007700">));<br /><br /></span><span style="color: #FF8000">/* We can also activate the more_entropy parameter, which is <br /> * required on some systems, like Cygwin. This makes uniqid()<br /> * produce a value like: 4b340550242239.64159797<br /> */<br /></span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"uniqid('', true): %s\r\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">uniqid</span><span style="color: #007700">(</span><span style="color: #DD0000">''</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">?></span> 90</span>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',affiliate.php https://bitbucket.org/sandeepbhaskar/inspiredliving.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 }helper.php https://github.com/FullService/joomla.git | PHP | 274 lines
115 // Temporary folder to extract the archive into 116 $tmpdir = uniqid('install_'); 117class.passwordhash.php https://github.com/pfond/PFOND.git | PHP | 258 lines
53 54 $this->random_state = microtime() . (function_exists('getmypid') ? getmypid() : '') . uniqid(rand(), TRUE); 55mywishlist.php https://gitlab.com/brunorafael/enosis | 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();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) 215Settings.scala.html https://github.com/xuwei-k/xuwei-k.github.com.git | HTML | 66 lines
56 <span class="keyword">val</span> <a title="Settings.this.BooleanSetting" id="575834">printtypes</a> = <span title="Settings.this.BooleanSetting" class="keyword">new</span> <a href="#575809" title="Settings.this.BooleanSetting">BooleanSetting</a><span class="delimiter">(</span><span title="Boolean(false)" class="keyword">false</span><span class="delimiter">)</span> 57 <span class="keyword">val</span> <a title="Settings.this.BooleanSetting" id="575836">uniqid</a> = <span title="Settings.this.BooleanSetting" class="keyword">new</span> <a href="#575809" title="Settings.this.BooleanSetting">BooleanSetting</a><span class="delimiter">(</span><span title="Boolean(false)" class="keyword">false</span><span class="delimiter">)</span> 58 <span class="keyword">val</span> <a title="Settings.this.BooleanSetting" id="575838">verbose</a> = <span title="Settings.this.BooleanSetting" class="keyword">new</span> <a href="#575809" title="Settings.this.BooleanSetting">BooleanSetting</a><span class="delimiter">(</span><span title="Boolean(false)" class="keyword">false</span><span class="delimiter">)</span>all.php https://github.com/Yannix/ImprovedZipArchive.git | PHP | 271 lines
38$outputs = array(); 39$outputs['RELATIVE_OUTPUT_DIR'] = 'où' . uniqid() . '/'; // Trailing slash required 40$outputs['ABSOLUTE_OUTPUT_DIR'] = TMP_DIR . $outputs['RELATIVE_OUTPUT_DIR']; 95 protected function makePath($methodname) { 96 $key = TMP_DIR . $methodname . '-' . date('Ymd') . '-' . uniqid() . '.zip'; 97 $this->archives[$key] = NULL; 139 self::mkdir(ABSOLUTE_INPUT_DIR); 140 self::createFile(ABSOLUTE_INPUT_DIR . '/quatrième.txt', uniqid()); 141 self::mkdir(ABSOLUTE_OUTPUT_DIR); 194 $zip = ImprovedZipArchive::create($archivepath, FS_ENCODING, 'UTF-8', 'CP850'); 195 $this->assertTrue($zip->addFromString('fuß.txt', uniqid())); 196 //$this->assertIdentical($zip->getNameIndex(0), 'fuß.txt'); 203 $zip = ImprovedZipArchive::create($archivepath, FS_ENCODING, 'UTF-8', 'CP850'); 204 $this->assertTrue($zip->addEmptyDir('encyclopædia', uniqid())); 205 //$this->assertIdentical($zip->getNameIndex(0), 'encyclopædia/');message.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 22 lines
19<b>[URL:</b>http://www.ejemplo.org/dirección/al/fichero.html<b>]</b></p> 20<p>Puede incluir la siguiente informació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/>adframe.class.php https://github.com/orchestra-io/sample-openx.git | PHP | 228 lines
131 $buffer = $mi->buffer; 132 $uniqueid = 'a'.substr(md5(uniqid('', 1)), 0, 7); 133ConnectionFactory.java https://gitlab.com/marcelosabino/OpenbusBR | Java | 51 lines
21 22 long id = getUniqId(collectProperties.getJdbcDriverClass(), collectProperties.getJdbcConnectionString()); 23 44 45 private static long getUniqId(String driverClass, String jdbcConnectionString) { 46 byte bytes[] = (driverClass + jdbcConnectionString).getBytes();Randomid.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 77 lines
39 $elts = array( 40 uniqid(), 41 mt_rand(),UUIDUtil.php https://bitbucket.org/freshflow/sabredav-1.8.5-fork.git | PHP | 64 lines
22 * 23 * @see http://www.php.net/manual/en/function.uniqid.php#94959 24 * @return stringsave.php https://bitbucket.org/yihangho/scribble.git | PHP | 62 lines
25 do{ 26 $ukey = '$'.md5(uniqid(rand(), TRUE)); 27 $result = $mysql_db->query("SELECT * FROM ".MYSQL_PREFIX."scribble WHERE ukey='$ukey'");Cache.php https://github.com/bhaumik25/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,message_drawer_view_settings_body_content_notification_preferences.mustache https://github.com/mackensen/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}}flock.php https://github.com/denisbz/SPIP-1.git | PHP | 411 lines
143 if ($truncate AND _OS_SERVEUR != 'windows'){ 144 if (!function_exists('creer_uniqid')) 145 include_spip('inc/acces'); 145 include_spip('inc/acces'); 146 $id = creer_uniqid(); 147 // on ouvre un pointeur sur un fichier temporaire en ecriture +razwysiwyg.php https://gitlab.com/haque.mdmanzurul/barongbarong | PHP | 378 lines
215 // vars 216 $id = 'wysiwyg-' . $field['id'] . '-' . uniqid(); 217User.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;Individual.php https://github.com/ksecor/civicrm.git | PHP | 347 lines
188 189 $uniqId = CRM_Utils_Array::value( 'user_unique_id', $params ); 190 if (empty($contact->display_name)) { 192 $contact->display_name = $email; 193 } else if (isset($uniqId)) { 194 $contact->display_name = $uniqId; 200 $contact->sort_name = $email; 201 } else if (isset($uniqId)) { 202 $contact->sort_name = $uniqId;main.mustache https://github.com/mspall/moodle.git | Mustache | 58 lines
25 26<div id="block-timeline-{{uniqid}}-{{timelineinstanceid}}" class="block-timeline" data-region="timeline"> 27 <div class="p-0 px-2"> 54) { 55 var root = $('#block-timeline-{{uniqid}}-{{timelineinstanceid}}'); 56 Main.init(root);Parser.php https://gitlab.com/geeta7/drupal | PHP | 394 lines
51 { 52 return sprintf('__internal_%s', hash('sha256', uniqid(mt_rand(), true), false)); 53 }database.php https://github.com/d4rky-pl/kohana-api-lookup.git | PHP | 239 lines
127 // Create a new session id 128 $id = str_replace('.', '-', uniqid(NULL, TRUE)); 129ClassTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 144 lines
57 )->setSku( 58 uniqid() 59 )->setPrice( 86 $model = $this->_objectManager->create(\Magento\Tax\Model\ClassModel::class); 87 $model->setClassName('TaxClass' . uniqid())->setClassType($classType)->isObjectNew(true); 88 $model->save();FileRepository_Backend_FileSystem.class.php https://github.com/cj/Project-Pier.git | PHP | 443 lines
343 do { 344 $id = sha1(uniqid(rand(), true)); 345 $file_path = $this->getFilePath($id);ProjectFileRevision.class.php https://github.com/cj/Project-Pier.git | PHP | 498 lines
187 do { 188 $source_file = CACHE_DIR . '/' . sha1(uniqid(rand(), true)); 189 } while (is_file($source_file)); 195 do { 196 $temp_file = CACHE_DIR . '/' . sha1(uniqid(rand(), true)); 197 } while (is_file($temp_file));helper.php https://github.com/elkuku/EasyCreator.git | PHP | 404 lines
223 { 224 $tempDir = JFactory::getConfig()->get('tmp_path').DS.uniqid('templateexport'); 225jsondb.php https://gitlab.com/mlnkv/simple-rest-api | PHP | 228 lines
20 $this->_readFile(); 21 $entry['_uid'] = uniqid(); 22archive.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);subscriptions.php https://github.com/AndyRixon/LayerBulletin.git | PHP | 246 lines
114 $token_id = md5(microtime()); 115 $token = md5(uniqid(rand(),true)); 116 167 $token_id = md5(microtime()); 168 $token = md5(uniqid(rand(),true)); 169Http.php https://github.com/brtriver/sukonv.git | PHP | 155 lines
132 if (!$data['username'] || $hash !== $data['response']) { 133 $nonce = uniqid(); 134 $opaque = md5($realm);Session.php https://github.com/holsinger/openfloor.git | PHP | 488 lines
301 $this->userdata = array( 302 'session_id' => md5(uniqid($sessid, TRUE)), 303 'ip_address' => $this->CI->input->ip_address(),ExportModel.php https://gitlab.com/gideonmarked/yovelife | PHP | 206 lines
141 */ 142 $csvName = uniqid('oc'); 143 $csvPath = temp_path().'/'.$csvName;MockArraySessionStorage.php https://gitlab.com/jjpa2018/dashboard | PHP | 252 lines
235 { 236 return hash('sha256', uniqid('ss_mock_', true)); 237 }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);filemanager.php https://github.com/kpike/moodle.git | PHP | 340 lines
134 135 $client_id = uniqid(); 136 181 'subdirs'=>0, 182 'client_id'=>uniqid(), 183 'accepted_types'=>'*', 233 * subdirs=>false, 234 * client_id=>uniqid(), 235 * acepted_types=>'*',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 }Makefile https://gitlab.com/qbarnes/unix-notes | Makefile | 309 lines
47ALIASES = $(UTILITY)/net.aliases 48UNIQID = $(MSTDIR)/.SEQ 49 154 155boot: spool $(UNIQID) placelib bin install 156# make the nfgripes file and open it 178 179$(UNIQID): 180 echo 1 > $(UNIQID) 180 echo 1 > $(UNIQID) 181 chmod 660 $(UNIQID) 182 -chown $(NOTES) $(UNIQID) 182 -chown $(NOTES) $(UNIQID) 183 -chgrp $(NOTESGRP) $(UNIQID) 184User.php https://github.com/Xedecimal/Pass-Store.git | PHP | 216 lines
15function user_hash($Username, $Password) { 16 return crypt(user_key($Username, $Password), '$6$rounds=50000$' . substr(hash('sha512', uniqid()), 0, 16)); 17}actions.php https://bitbucket.org/zachisit/zachis.it-m.git | PHP | 339 lines
17 18 $secure_token = uniqid() . mt_rand(1000, 9999); 19 $uniquename = "{$secure_token}_{$packname}";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/';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'; }newpassword.php https://gitlab.com/CORP-RESELLER/rest-api-sample-app-php | PHP | 77 lines
14 try { 15 $newPassword = uniqid(); 16 $userId = updateUser($_POST['user']['email'], $newPassword, null);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()."')"; 74admin_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 }ParentListInput.php https://gitlab.com/nitm/yii2-widgets | PHP | 97 lines
41 throw new \yii\base\ErrorException(__CLASS__.'->'.__FUNCTION__."() needs a \\nitm\models\Data based model for the parents list!"); 42 $this->options['id'] = isset($this->options['id']) ? $this->options['id'] : $this->model->isWhat().'parent-list-input'.uniqid(); 43lettres_administrations.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 210 lines
132 ecrire_meta('spip_lettres_envois_recurrents', 'non'); 133 ecrire_meta('spip_lettres_cron', md5(uniqid(rand()))); 134 ecrire_meta('spip_lettres_cliquer_anonyme', 'oui');cl_blog.php https://bitbucket.org/manojgautam/mercury.git | PHP | 238 lines
14// Element ID 15$blog_id = 'cl_blog_' . str_replace( ".", '-', uniqid("", true) ); 16eztemplatecompiledloop.php https://github.com/lserwatka/ezpublish.git | PHP | 310 lines
44 $this->NodePlacement = $nodePlacement; 45 $this->UniqID = $uniqid; 46 $this->NewNodes =& $newNodes; 76 $fName = $this->Name; 77 $uniqid = $this->UniqID; 78 $this->NewNodes[] = eZTemplateNodeTool::createVariableUnsetNode( "${fName}_sequence_array_$uniqid" ); 99 "${fName}_sequence_array_$uniqid" ); 100 $this->NewNodes[] = eZTemplateNodeTool::createCodePieceNode( "\$${fName}_sequence_var_$uniqid = current( \$${fName}_sequence_array_$uniqid );\n" ); 101 } 111 $fName = $this->Name; 112 $uniqid = $this->UniqID; 113 $seqVar = "${fName}_sequence_var_$uniqid"; 128 $fName = $this->Name; 129 $uniqid = $this->UniqID; 130 $seqArray = "${fName}_sequence_array_$uniqid";class-wc-admin-webhooks.php https://gitlab.com/webkod3r/tripolis | 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' ) ) ),FactoryTest.php https://github.com/netactive/typo3.git | PHP | 143 lines
75 $mockedMount = $this->getMock('TYPO3\\CMS\\Core\\Resource\\ResourceStorage', array(), array(), '', FALSE); 76 $path = uniqid(); 77 $name = uniqid();Readme.md https://gitlab.com/Folgan/react1 | Markdown | 66 lines
2 3![unqiid npm badge](http://img.shields.io/npm/v/uniqid.svg) ![uniqid npm downloads badge](https://img.shields.io/npm/dm/uniqid.svg) 4 13```js 14var uniqid = require('uniqid'); 15 16console.log(uniqid()); // -> 4n5pxq24kpiob12og9 17console.log(uniqid(), uniqid()); // -> 4n5pxq24kriob12ogd, 4n5pxq24ksiob12ogl 18``` 31## API: 32#### **uniqid(** prefix *optional string* **)** 33Generate 18 byte unique id's based on the time, process id and mac address. Works on multiple processes and machines. 53## Webpack and Browserify 54Since browsers don't provide a Process ID and in most cases neither give a Mac Address using uniqid from Webpack and Browserify falls back to `uniqid.time()` for all the other methods too. The browser is the single process, single machine case anyway. 55qqfileuploader.php https://bitbucket.org/denisOg/soft-site.git | PHP | 361 lines
103 { 104 $file_name = md5(time() . uniqid()); 105 }light_editor.php https://gitlab.com/neuser/bitrix-core | 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);Controller.php https://gitlab.com/ElvisAns/tiki | PHP | 94 lines
25 26 $identifier = uniqid(); 27 $cwflashVars = [MockArraySessionStorage.php https://github.com/ivebeenlinuxed/Boiler.git | PHP | 268 lines
251 { 252 return hash('sha256', uniqid(mt_rand())); 253 }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);Configuration.php https://gitlab.com/randydanniswara/website | PHP | 101 lines
91 ->booleanNode('enable_cancelation')->defaultFalse()->end() 92 ->scalarNode('namer')->defaultValue('oneup_uploader.namer.uniqid')->end() 93 ->end()RateTest.php https://gitlab.com/yousafsyed/easternglamor | 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',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) .'"' : '' );audio.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 150 lines
75 76 $theme->set( 'uid' , uniqid() ); 77 $theme->set( 'url' , $url ); 136 137 $theme->set( 'uid' , uniqid() ); 138 $theme->set( 'url' , $url );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 TargetCaptchaAction.php https://gitlab.com/brucealdridge/yii2 | PHP | 352 lines
128 // when src attribute of image tag is changed 129 'url' => Url::to([$this->id, 'v' => uniqid()]), 130 ];CaptchaAction.php https://gitlab.com/Griffolion/Game-Embargo-Tracker | PHP | 352 lines
128 // when src attribute of image tag is changed 129 'url' => Url::to([$this->id, 'v' => uniqid()]), 130 ], JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);QueueStorageTest.php https://bitbucket.org/Dal-Papa/is-340-publish-base.git | PHP | 394 lines
67 $storageClient = $this->createStorageInstance(); 68 for ($i = 1; $i <= self::$uniqId; $i++) 69 { 89 90 protected static $uniqId = 0; 91 93 { 94 self::$uniqId++; 95 return TESTS_ZEND_SERVICE_WINDOWSAZURE_QUEUE_PREFIX . self::$uniqId;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 {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++) {PhpFileCacheTest.php https://github.com/nattaphat/hgis.git | PHP | 149 lines
18 { 19 $dir = sys_get_temp_dir() . "/doctrine_cache_". uniqid(); 20 $this->assertFalse(is_dir($dir));Chooser.php https://gitlab.com/LisovyiEvhenii/ismextensions | 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); 67LC_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 ???????????????functions-infos.php https://gitlab.com/Slind/YOURLS | PHP | 339 lines
12 if( $id === null ) 13 $id = uniqid ( 'yourls_stats_map_' ); 14 41 if( $id === null ) 42 $id = uniqid ( 'yourls_stats_pie_' ); 43 167 if( $id === null ) 168 $id = uniqid ( 'yourls_stats_line_' ); 169compatibility.php https://github.com/kpike/moodle.git | PHP | 173 lines
114 if (is_object($first) && is_object($second)) { 115 $id = uniqid("test"); 116 $first->$id = true; 121 $temp = $first; 122 $first = uniqid("test"); 123 $is_ref = ($first === $second);abonnement_pipelines.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 197 lines
128 include_spip('inc/acces'); 129 $hash = creer_uniqid(); 130 $flux['data']['hash'] = $hash ;GetAllBrowsers.php https://github.com/markvince/CakePHP-GAStats-Plugin.git | PHP | 108 lines
89 // Change to your file location. 90 $filePath = sprintf("%s/Browsers-%s.csv", sys_get_temp_dir(), uniqid()); 91 $fp = fopen($filePath, 'w');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,OAuthStoreAbstract.class.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 148 lines
90 { 91 $key = md5(uniqid(rand(), true)); 92 if ($unique)memoization.php https://bitbucket.org/pombredanne/spip-zone-treemap.git | PHP | 230 lines
109 include_spip('inc/acces'); 110 ecrire_meta('cache_namespace', dechex(crc32($_SERVER["DOCUMENT_ROOT"] . $_SERVER["SERVER_SIGNATURE"] . creer_uniqid())), 'non'); 111}TokenGenerator.php https://bitbucket.org/Ibit/fosuserbundle.git | PHP | 62 lines
59 60 return hash('sha256', uniqid(mt_rand(), true), true); 61 }ContainerTest.php https://gitlab.com/MotoSport/humbug | PHP | 124 lines
105 { 106 $tmp = tempnam(sys_get_temp_dir(), uniqid()); 107 $this->container->setBootstrap($tmp);EFeed.php https://gitlab.com/RonLab1987/YupePlusClear | PHP | 510 lines
314 { 315 $key = ($key == null) ? uniqid(rand()) : $key; 316 $chars = md5($key);media.php https://bitbucket.org/gregbenner/the-league-of-gentlemen-theme.git | PHP | 66 lines
17 parse_str( $video_url['query'], $youtube ); 18 $id = uniqid( '', false ); 19 $return = ' 44 if ( in_array( $video_ext, $videos ) ) { 45 $player_id = uniqid( '_', false ); 46 57 if ( mb_substr( $media_url, -4 ) == '.mp3' ) { 58 $player_id = uniqid( '_', false ); 59WidgetController.php https://bitbucket.org/acidel/buykoala.git | PHP | 70 lines
41 { 42 $uniqId = $this->getRequest()->getParam('uniq_id'); 43 $massAction = $this->getRequest()->getParam('use_massaction', false); 46 $productsGrid = $this->getLayout()->createBlock('adminhtml/catalog_product_widget_chooser', '', array( 47 'id' => $uniqId, 48 'use_massaction' => $massAction, 56 $categoriesTree = $this->getLayout()->createBlock('adminhtml/catalog_category_widget_chooser', '', array( 57 'id' => $uniqId.'Tree', 58 'node_click_listener' => $productsGrid->getCategoryClickListenerJs(),class.Subscriber.php https://gitlab.com/oytunistrator/jobberbase | PHP | 253 lines
248 { 249 $auth = md5(uniqid() . time()); 250 return $auth;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;pusher.php https://github.com/agallou/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 )Value.php https://bitbucket.org/jokusafet/magento2.git | PHP | 288 lines
247 248 $cid = md5(uniqid(time())); 249GetSetCest.php git://github.com/phalcon/cphalcon.git | PHP | 426 lines
30use function sprintf; 31use function uniqid; 32 66 67 $key = uniqid('k-'); 68 136 [], 137 uniqid(), 138 ], 192 getOptionsLibmemcached(), 193 uniqid(), 194 ], 213 ), 214 uniqid(), 215 ],ShortcodeFilter.php https://bitbucket.org/hcdesenvolvimentos/tiagobalabuch_site.git | PHP | 224 lines
119 // create unique group identifier 120 $group = uniqid('ejsg'); 121phing.php https://github.com/Hywan/atoum.git | PHP | 148 lines
84 ->and($testController = new atoum\mock\controller()) 85 ->and($testController->getTestedClassName = uniqid()) 86 ->and($test = new \mock\mageekguy\atoum\test($adapter)) 103 ->and($testController = new atoum\mock\controller()) 104 ->and($testController->getTestedClassName = uniqid()) 105 ->and($test = new \mock\mageekguy\atoum\test($adapter)) 109 ->and($customField->setPrompt($prompt = new prompt(uniqid()))) 110 ->and($customField->setTitleColorizer($titleColorizer = new colorizer(uniqid(), uniqid()))) 111 ->and($customField->setMemoryColorizer($memoryColorizer = new colorizer(uniqid(), uniqid())))Configuration.php https://bitbucket.org/viswanath608/outragebot.git | PHP | 129 lines
56 57 $sInstance = $sConfigName.' (#'.uniqid().')'; 58 self::verifyConfiguration($pConfig, $sInstance);CourseArchiver.class.php https://bitbucket.org/hanutimes/hanutimes.git | PHP | 209 lines
161 static function import_uploaded_file($file) { 162 $new_filename = uniqid('') . '.zip'; 163 $new_dir = api_get_path(SYS_ARCHIVE_PATH); 179 // Create a temp directory 180 $tmp_dir_name = 'CourseArchiver_' . uniqid(''); 181 $unzip_dir = api_get_path(SYS_ARCHIVE_PATH) . '' . $tmp_dir_name;cli.php https://github.com/agallou/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()))Security.php https://gitlab.com/grlopez90/servipro | PHP | 417 lines
195 while ($byteLength < $length) { 196 $bytes .= static::hash(CakeText::uuid() . uniqid(mt_rand(), true), 'sha512', true); 197 $byteLength = strlen($bytes); 294 '.', 295 base64_encode(sha1(uniqid(Configure::read('Security.salt'), true), true)) 296 );svn.php https://github.com/agallou/atoum.git | PHP | 354 lines
92 ->then 93 ->object($this->testedInstance->setUsername($username = uniqid()))->isTestedInstance 94 ->string($this->testedInstance->getUsername())->isEqualTo($username) 108 ->then 109 ->object($this->testedInstance->setPassword($password = uniqid()))->isTestedInstance 110 ->string($this->testedInstance->getPassword())->isEqualTo($password) 151 ->if( 152 $this->testedInstance->setRepositoryUrl($repositoryUrl = uniqid()), 153 $adapter->svn_auth_set_parameter = function() {}, 172 $adapter->resetCalls(), 173 $adapter->svn_log = array(uniqid() => uniqid()) 174 ) 181 $adapter->svn_log = array( 182 array('rev' => $revision1 = uniqid()), 183 array('rev' => $revision2 = uniqid()),MailMimePart.php https://github.com/vohnicky/treeview.git | PHP | 394 lines
252 $output = ''; 253 $boundary = '--------' . md5(uniqid('', TRUE)); 254WikiPublishTask.php https://gitlab.com/Isaki/le331.fr | PHP | 435 lines
227 { 228 $this->cookiesFile = tempnam(sys_get_temp_dir(), 'WikiPublish.' . uniqid() . '.cookies'); 229submit.php https://github.com/ivira/feedbackreporter.git | PHP | 133 lines
37{ 38 return date('Y-m-d\\TH:i:s-') . md5(getmypid().uniqid(rand()).$_SERVER[‘SERVER_NAME’]); 39}session.class.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 80 lines
40 srand((double)microtime()*1000000); 41 $session = md5 (uniqid (rand())); 42 $timestamp = time();