100+ results results for 'uniqid repo:SallyCMS/0.6' (338 ms)
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 }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); 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 }reqwest.js https://gitlab.com/alidz1982/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";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',ProductExternalTest.php https://gitlab.com/axeltizon/magento-poweraccess-demo | PHP | 352 lines
282 283 $optionId = uniqid(); 284 $option = $this->objectManager->create(mywishlist.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();ConnectionFactory.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(),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/haque.mdmanzurul/barongbarong | PHP | 378 lines
215 // vars 216 $id = 'wysiwyg-' . $field['id'] . '-' . uniqid(); 217ClassTest.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();jsondb.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);ExportModel.php https://gitlab.com/gideonmarked/yovelife | PHP | 206 lines
141 */ 142 $csvName = uniqid('oc'); 143 $csvPath = temp_path().'/'.$csvName;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);class.passwordhash.php https://github.com/clioweb/DH-Answers.git | PHP | 258 lines
53 54 $this->random_state = microtime() . (function_exists('getmypid') ? getmypid() : '') . uniqid(rand(), TRUE); 55question.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) 184JobBackupTest.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(); 43cl_blog.php https://bitbucket.org/manojgautam/mercury.git | PHP | 238 lines
14// Element ID 15$blog_id = 'cl_blog_' . str_replace( ".", '-', uniqid("", true) ); 16Readme.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. 55OAuth2_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/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) .'"' : '' );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);MockArraySessionStorage.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));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++) {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;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())); 249ContainerTest.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);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;ShortcodeFilter.php https://bitbucket.org/hcdesenvolvimentos/tiagobalabuch_site.git | PHP | 224 lines
119 // create unique group identifier 120 $group = uniqid('ejsg'); 121class-wc-admin-webhooks.php https://gitlab.com/mattswann/launch-housing | 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' ) ) ),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 );WikiPublishTask.php https://gitlab.com/Isaki/le331.fr | PHP | 435 lines
227 { 228 $this->cookiesFile = tempnam(sys_get_temp_dir(), 'WikiPublish.' . uniqid() . '.cookies'); 229helper.php https://github.com/FullService/joomla.git | PHP | 274 lines
115 // Temporary folder to extract the archive into 116 $tmpdir = uniqid('install_'); 117testimonials.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'; }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');CodeParser.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' ),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')); 34file-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 },Upload.class.php https://gitlab.com/Red54/thinkphp | PHP | 453 lines
26 'savePath' => '', //保存路径 27 'saveName' => array('uniqid', ''), //上传文件命名规则,[0]-函数名,[1]-参数,多个参数使用数组 28 'saveExt' => '', //文件保存后缀,空则使用原后缀WorkQueues.java https://gitlab.com/kingofhappy/openbdre | Java | 262 lines
177 manager.deletePersistent(info); */ 178 webUrlsDBDao.delete(weburlsdb.getUniqid().intValue()); 179 } 188 manager.deletePersistent(info); */ 189 pendingUrlsDBDao.delete(pendingurlsdb.getUniqid().intValue()); 190 }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;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)); 129ReflectionClassResourceTest.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))));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 . '"';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,ReplytoComment.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();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 }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 ]];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";string_helper.php https://gitlab.com/mlnkv/fusioninvoice | PHP | 307 lines
228 229 return md5(uniqid(mt_rand())); 230 break; 236 237 return do_hash(uniqid(mt_rand(), TRUE), 'sha1'); 238 break;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 ) ) {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 }Utility.php https://gitlab.com/luisrepo/ClienteWS | PHP | 217 lines
191 { 192 return md5(uniqid(rand(), true)); 193 }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);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);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 39register.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);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_parametersSecurity_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)); 323pusher.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 )FileHelper.php https://gitlab.com/nitm/yii2-filemanager | PHP | 196 lines
51 extract($options); 52 $pathId = md5(is_null($id) ? uniqid() : $id); 53 $name = File::getSafeName($name);Notification.php https://gitlab.com/johanlindberg/irvato-crm | PHP | 276 lines
92 if ($note->get('createdById') === $user->id) continue; 93 $id = uniqid(); 94 $arr[] = "(".$pdo->quote($id).", ".$pdo->quote($encodedData).", ".$pdo->quote('Note').", ".$pdo->quote($userId).", ".$pdo->quote($now).", ".$pdo->quote($note->id).", ".$pdo->quote('Note').", ".$pdo->quote($note->get('parentId')).", ".$pdo->quote($note->get('parentType')).")";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(); 42class-image.php https://gitlab.com/pacificsky/adult-education-pathways-dev | PHP | 351 lines
195 // not lazy-loaded background image 196 $unique = uniqid( 'moz-background-picture--' ); 197 $bgel_attrs['class'] .= " $unique";