100+ results results for 'uniqid' (202 ms)
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);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'];eztemplatecompiledloop.php https://github.com/zerustech/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";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 dbBackend.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) {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/alexandretaz/maniac_divers.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;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 }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 }ProductExternalTest.php https://gitlab.com/axeltizon/magento-demopoweraccess | PHP | 352 lines
282 283 $optionId = uniqid(); 284 $option = $this->objectManager->create(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',helper.php https://github.com/FullService/joomla.git | PHP | 274 lines
115 // Temporary folder to extract the archive into 116 $tmpdir = uniqid('install_'); 117mywishlist.php https://gitlab.com/ptisky/API_prestashop | 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();class.passwordhash.php https://github.com/pfond/PFOND.git | PHP | 258 lines
53 54 $this->random_state = microtime() . (function_exists('getmypid') ? getmypid() : '') . uniqid(rand(), TRUE); 55Randomid.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 77 lines
39 $elts = array( 40 uniqid(), 41 mt_rand(),Parser.php https://gitlab.com/reasonat/test8 | PHP | 394 lines
51 { 52 return sprintf('__internal_%s', hash('sha256', uniqid(mt_rand(), true), false)); 53 }wysiwyg.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 378 lines
215 // vars 216 $id = 'wysiwyg-' . $field['id'] . '-' . uniqid(); 217Cache.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,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;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;message.php https://github.com/condesan/infoandina.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/>ClassTest.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();helper.php https://github.com/elkuku/EasyCreator.git | PHP | 404 lines
223 { 224 $tempDir = JFactory::getConfig()->get('tmp_path').DS.uniqid('templateexport'); 225database.php https://bitbucket.org/Ahineya/trn_dev.git | PHP | 239 lines
127 // Create a new session id 128 $id = str_replace('.', '-', uniqid(NULL, TRUE)); 129subscriptions.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)); 169archive.php https://github.com/chrisinammo/arthurmcneil.git | 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);Http.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/atls-express | 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 }adframe.class.php https://github.com/yabba/openx.git | PHP | 228 lines
131 $buffer = $mi->buffer; 132 $uniqueid = 'a'.substr(md5(uniqid('', 1)), 0, 7); 133PaymentController.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 }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}";User.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}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'; }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/';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(); 43eztemplatecompiledloop.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";cl_blog.php https://bitbucket.org/manojgautam/mercury.git | PHP | 238 lines
14// Element ID 15$blog_id = 'cl_blog_' . str_replace( ".", '-', uniqid("", true) ); 16FactoryTest.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();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' ) ) ),Controller.php https://gitlab.com/ElvisAns/tiki | PHP | 94 lines
25 26 $identifier = uniqid(); 27 $cwflashVars = [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()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);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);RateTest.php https://gitlab.com/axeltizon/magento-demopoweraccess | 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) .'"' : '' );CaptchaAction.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);jsondb.php https://gitlab.com/mlnkv/simple-rest-api | PHP | 228 lines
20 $this->_readFile(); 21 $entry['_uid'] = uniqid(); 22MockArraySessionStorage.php https://gitlab.com/x33n/ampache | PHP | 268 lines
251 { 252 return hash('sha256', uniqid(mt_rand())); 253 }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));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++) {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_' ); 169UserRepository.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,Value.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 288 lines
247 248 $cid = md5(uniqid(time())); 249EFeed.php https://gitlab.com/RonLab1987/YupePlusClear | PHP | 510 lines
314 { 315 $key = ($key == null) ? uniqid(rand()) : $key; 316 $chars = md5($key);ContainerTest.php https://gitlab.com/MotoSport/humbug | PHP | 124 lines
105 { 106 $tmp = tempnam(sys_get_temp_dir(), uniqid()); 107 $this->container->setBootstrap($tmp);WidgetController.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(),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 ); 59class.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;GetSetCest.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'); 121Security.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 );WikiPublishTask.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/zykloid/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();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'; }ezsubtreecache.php https://github.com/zerustech/ezpublish.git | PHP | 159 lines
115 $uniqid = md5( uniqid( 'ezpsubtreecache'. getmypid(), true ) ); 116 $expiryCacheDir = eZSys::cacheDirectory() . '/template-block-expiry/' . $uniqid[0] . '/' . $uniqid[1] . '/' . $uniqid[2] . '/' . $uniqid; 117JACKED.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');Configuration.php https://github.com/tumf/tepco.git | PHP | 248 lines
211 ->prototype('array') 212 ->scalarNode('password')->defaultValue(uniqid())->end() 213 ->arrayNode('roles')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()); 25CodeParser.php https://gitlab.com/gideonmarked/yovelife | PHP | 242 lines
86 */ 87 $uniqueName = uniqid().'_'.abs(crc32(md5(mt_rand()))); 88 $className = 'Cms'.$uniqueName.'Class';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' ),Pirate.php https://github.com/xobxxi/Pirates-Forums.git | PHP | 575 lines
347 return array( 348 'hash' => md5(uniqid('', true)), 349 'content_type' => 'pirate',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);AwsS3Test.php git://github.com/knplabs/Gaufrette.git | PHP | 191 lines
32 33 $this->bucket = uniqid(getenv('AWS_BUCKET')); 34index.php https://github.com/hugcoday/groupcotton_php.git | PHP | 58 lines
22 23$microsecondid=uniqid(); 24 $pid=getmypid();phing.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())))compatibility.php https://github.com/dhamma-dev/SEA.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);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")) {Upload.class.php https://gitlab.com/Red54/thinkphp | PHP | 453 lines
26 'savePath' => '', //保存路径 27 'saveName' => array('uniqid', ''), //上传文件命名规则,[0]-函数名,[1]-参数,多个参数使用数组 28 'saveExt' => '', //文件保存后缀,空则使用原后缀order.php https://github.com/TdroL/hurtex.git | PHP | 82 lines
20<?php foreach($products as $v): ?> 21 <tr id="product_<?php echo !empty($v->product->id) ? $v->product->id : uniqid() ?>"> 22 <td><p>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 . '"';AccountController.php https://gitlab.com/HudsonNicoletti/Rhyno | PHP | 204 lines
144 endif; 145 $filename = substr(sha1(uniqid()), 0, 12).'.'.$file->getExtension(); 146 $file->moveTo("assets/manager/images/avatar/{$filename}");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;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))));phpObject.php https://github.com/Hywan/atoum.git | PHP | 76 lines
65 ->exception(function () { 66 $this->testedInstance->setClass(uniqid()); 67 })phpClass.php https://github.com/Hywan/atoum.git | PHP | 81 lines
37 $constantIterator 38 ->append($token1 = new tokenizer\token(uniqid())) 39 ->append($token2 = new tokenizer\token(uniqid())) 54 $methodIterator 55 ->append($token1 = new tokenizer\token(uniqid())) 56 ->append($token2 = new tokenizer\token(uniqid())) 71 $propertyIterator 72 ->append($token1 = new tokenizer\token(uniqid())) 73 ->append($token2 = new tokenizer\token(uniqid()))icon-functions.php https://gitlab.com/morganestes/wordpress-develop | PHP | 220 lines
76 $aria_hidden = ''; 77 $unique_id = uniqid(); 78 $aria_labelledby = ' aria-labelledby="title-' . $unique_id . '"';string_helper.php https://gitlab.com/lisit1003/TTPHPServer | PHP | 307 lines
228 229 return md5(uniqid(mt_rand())); 230 break; 236 237 return do_hash(uniqid(mt_rand(), TRUE), 'sha1'); 238 break;Plugin.class.php https://github.com/bgerp/bgerp.git | PHP | 445 lines
74 75 ht::setUniqId($attr); 76ReplytoComment.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 226 lines
130 // Set up a default request 131 $_POST['_ajax_nonce-replyto-comment'] = wp_create_nonce( uniqid() ); 132 $_POST['comment_ID'] = $comment->comment_ID;internal-link-aliases.php https://gitlab.com/Gashler/sg | PHP | 374 lines
111 112 if (!is_string($id)) $id = uniqid($i, true); 113 205 $alias_to = ''; 206 $alias_id = uniqid('', true); 207 if ($url_key) {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();OAIDAO.inc.php https://github.com/mcrider/pkpUpgradeTestSuite.git | PHP | 499 lines
407 // Generate unique token ID 408 $token->id = md5(uniqid(mt_rand(), true)); 409 $result =& $this->retrieve(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);ajax_image_save.php https://gitlab.com/ptisky/API_prestashop | PHP | 215 lines
112 { 113 $sessionNewPath = $sessionDir . uniqid(md5(time())) . "." . getFileExt($_POST['path']); 114 if (!@copy($originalImage, $sessionNewPath)) 130 { 131 $imagePath = $sessionDir . uniqid(md5(time())) . "." . getFileExt($_POST['path']); 132 }add.php https://github.com/yoniweb/forkcms-Golden-Gate.git | PHP | 183 lines
141 $settings['number_format'] = $this->frm->getField('number_format')->getValue(); 142 $settings['password_key'] = uniqid(); 143 $settings['avatar'] = 'no-avatar.gif';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);Article.php https://gitlab.com/debashishroy/news-portal | PHP | 323 lines
72 if(!empty($this->title) && !empty($this->description) && !empty($this->image) && !empty($this->category)){ 73 $uniqId = md5(uniqid(rand(),true)); 74 #validate and upload new logo 95 ":title" => $this->title, 96 ":unique_id" => $uniqId, 97 ":description" => $this->description,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 ]];service.php https://github.com/totara/moodle.git | PHP | 218 lines
83 $e->getMessage(), 84 uniqid(), 85 'replaceResultResponse');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";RandomSegment.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 403 lines
160 //define table name 161 $randomNum = md5(uniqid()); 162 $this->_tableName = "civicrm_temp_custom_{$randomNum}";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 ) ) {login.php https://github.com/flyinghail/MolyX.git | PHP | 310 lines
149 { 150 $sessionid = substr(md5(uniqid(microtime())), 0, 16); 151 $sql_array = array(Utility.php https://gitlab.com/luisrepo/ClienteWS | PHP | 217 lines
191 { 192 return md5(uniqid(rand(), true)); 193 }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);A1.php https://github.com/Wouterrr/kohanamodules2.3.2.git | PHP | 288 lines
223 // Create a salt seed, same length as the number of offsets in the pattern 224 $salt = substr($this->hash(uniqid(NULL, TRUE)), 0, count($this->config['salt_pattern'])); 225 }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')register.php https://gitlab.com/lazypdf/afi-framework | PHP | 268 lines
97 $_POST['registerDate'] = date('Y-m-d H:i:s'); 98 $token = uniqid(); 99 $_POST['token'] = $token; 156 $id = $db->loadResult(); 157 $newpassword = uniqid(); 158 $password = $app->encryptPassword($_POST['username'], $newpassword);OAuth2.php https://gitlab.com/itlboy/yii2-starter-installed | PHP | 272 lines
190 } 191 return hash('sha256', uniqid($baseString, true)); 192 }