PageRenderTime 107ms queryTime 14ms sortTime 1ms getByIdsTime 21ms findMatchingLines 14ms

100+ results results for 'uniqid repo:mridgway/zf2' (107 ms)

Not the results you expected?
user.php http://skeleton.googlecode.com/svn/trunk/ | PHP | 254 lines
                    
92						// Create a random user salt
                    
93						$usersalt = uniqid(mt_rand().time(),true);
                    
94						// Insert user data in db
                    
                
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        }
                    
                
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);
                    
                
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;
                    
                
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";
                    
                
PaymentController.php https://bitbucket.org/Silali/property_manager.git | PHP | 187 lines
                    
110            $media = MediaUploader::fromSource($file)
                    
111                ->useFilename($tenant."_".$payment_method->slug."_".$date_paid."_".uniqid())
                    
112                ->toDestination('public', 'payments')
                    
134    {
                    
135        $filename = strtolower($title)."_".uniqid();
                    
136        $items = $this->transform($records);
                    
                
ModuleZipManager.php https://bitbucket.org/fanch1/testlb.git | PHP | 214 lines
                    
159        if ($sandboxPath === null) {
                    
160            $sandboxPath = _PS_CACHE_DIR_.'sandbox/'.uniqid().'/';
                    
161            $this->filesystem->mkdir($sandboxPath);
                    
                
question.php https://bitbucket.org/linoyepost/epg_intranet_innokat.git | PHP | 201 lines
                    
169		$mainframe->redirect(
                    
170			AriQuizFrontHelper::addTmplToLink('index.php?option=' . $option . '&task=question&ticketId=' . $ticketId . '&t=' . uniqid('uv_') . '&Itemid=' . $Itemid));
                    
171	}
                    
197		$mainframe->redirect(
                    
198			AriQuizFrontHelper::addTmplToLink('index.php?option=' . $option . '&task=question&ticketId=' . $ticketId . '&t=' . uniqid('uv_') . '&Itemid=' . $Itemid));
                    
199	}
                    
                
admin_plugins_add.php http://snowcms.googlecode.com/svn/trunk/ | PHP | 292 lines
                    
163		// Where should this plugin go..?
                    
164		$filename = plugindir. '/'. uniqid('plugin_');
                    
165		while(file_exists($filename))
                    
166		{
                    
167			$filename = plugindir. '/'. uniqid('plugin_');
                    
168		}
                    
                
cl_blog.php https://bitbucket.org/manojgautam/mercury.git | PHP | 238 lines
                    
14// Element ID
                    
15$blog_id = 'cl_blog_' . str_replace( ".", '-', uniqid("", true) );
                    
16
                    
                
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 {
                    
                
LC_Page_Shopping_Multiple.php https://git01.codeplex.com/eccubeonwaz | PHP | 318 lines
                    
71
                    
72        $this->tpl_uniqid = $objSiteSess->getUniqId();
                    
73
                    
74        $this->addrs = $this->getDelivAddrs($objCustomer, $objPurchase,
                    
75                                            $this->tpl_uniqid);
                    
76        $this->tpl_addrmax = count($this->addrs);
                    
78
                    
79        $objPurchase->verifyChangeCart($this->tpl_uniqid, $objCartSess);
                    
80
                    
87                    $_SESSION['multiple_temp'] = $objFormParam->getHashArray();
                    
88                    $this->saveMultipleShippings($this->tpl_uniqid, $objFormParam,
                    
89                                                 $objCustomer, $objPurchase,
                    
174     * @param SC_Helper_Purchase $objPurchase SC_Helper_Purchase ??????
                    
175     * @param integer $uniqid ?????????????ID
                    
176     * @return array ???????????????
                    
                
UserRepository.php https://bitbucket.org/ghanu/chope.git | PHP | 362 lines
                    
110                'active' => isset($data['active']) && $data['active'] == '1' ? 1 : 0,
                    
111                'confirmation_code' => md5(uniqid(mt_rand(), true)),
                    
112                'confirmed' => isset($data['confirmed']) && $data['confirmed'] == '1' ? 1 : 0,
                    
                
sync4.php https://bitbucket.org/rubbystar/musicappbackend.git | PHP | 312 lines
                    
80        $ext = pathinfo($path, PATHINFO_EXTENSION);
                    
81        $dest_filename = md5(uniqid(rand(), true)) . '.' . $ext;
                    
82        $uploadfile = $uploaddir .$dest_filename;
                    
117            $ext = pathinfo($path, PATHINFO_EXTENSION);
                    
118            $dest_filename = md5(uniqid(rand(), true)) . '.' . $ext;
                    
119            $uploadfile = $uploaddir .$dest_filename;
                    
                
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{
                    
                
abstract-wc-order-data-store-cpt.php https://bitbucket.org/ngallois/lcsailing.git | PHP | 388 lines
                    
71					'post_title'    => $this->get_post_title(),
                    
72					'post_password' => uniqid( 'order_' ),
                    
73					'post_parent'   => $order->get_parent_id( 'edit' ),
                    
                
buzzOAuth.php http://buzz-php-client.googlecode.com/svn/trunk/ | PHP | 260 lines
                    
87        $callbackUrl = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
                    
88        $uid = uniqid();
                    
89        $token = $auth->obtainRequestToken($callbackUrl, $uid);
                    
                
MockArraySessionStorage.php git://github.com/symfony/symfony.git | PHP | 252 lines
                    
235    {
                    
236        return hash('sha256', uniqid('ss_mock_', true));
                    
237    }
                    
                
AwsS3Test.php git://github.com/knplabs/Gaufrette.git | PHP | 191 lines
                    
32
                    
33        $this->bucket = uniqid(getenv('AWS_BUCKET'));
                    
34
                    
                
file-upload.php https://bitbucket.org/zym-works/hotel_system_api.git | PHP | 49 lines
                    
34			//! unlink old
                    
35			$filename = uniqid() . $regs2[0];
                    
36			if (!move_uploaded_file($_FILES[$name]["tmp_name"], "$this->uploadPath$table/$regs[1]-$filename")) {
                    
                
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 . '"';
                    
                
database.php git://github.com/eryx/php-framework-benchmark.git | PHP | 239 lines
                    
127			// Create a new session id
                    
128			$id = str_replace('.', '-', uniqid(NULL, TRUE));
                    
129
                    
                
ReflectionClassResourceTest.php git://github.com/fabpot/symfony.git | PHP | 252 lines
                    
97        if (null === $expectedSignature) {
                    
98            eval(sprintf($code, $class = 'Foo'.str_replace('.', '_', uniqid('', true))));
                    
99            $r = new \ReflectionClass(ReflectionClassResource::class);
                    
109        }
                    
110        eval(sprintf(implode("\n", $code), $class = 'Foo'.str_replace('.', '_', uniqid('', true))));
                    
111        $signature = implode("\n", iterator_to_array($generateSignature(new \ReflectionClass($class))));
                    
                
Cache.php https://github.com/jorgenils/zend-framework.git | PHP | 292 lines
                    
219            try {
                    
220                $data['handle'] = md5(uniqid(rand(), true));
                    
221                $msgs[] = $data;
                    
266        $data = array(
                    
267            'message_id' => md5(uniqid(rand(), true)),
                    
268            'handle'     => null,
                    
                
HTML.php https://bitbucket.org/23289368/coursework2.git | PHP | 245 lines
                    
241        $metaTemplate = new \Text_Template($this->templatePath . 'substeps.html');
                    
242        $metaTemplate->setVar(['metaStep' => $metaStep, 'steps' => $substepsBuffer, 'id' => uniqid()]);
                    
243        return $metaTemplate->render();
                    
                
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);
                    
                
utility-class.php https://bitbucket.org/awylie199/s5t.git | PHP | 417 lines
                    
12		if ( ! empty( $_ENV['TEMP'] ) ) { return realpath( $_ENV['TEMP'] ); }
                    
13		$tempfile = tempnam( uniqid( rand(),TRUE ),'' );
                    
14		if ( @file_exists( $tempfile ) ) {
                    
                
Csv.php https://gitlab.com/israel.correa/Expresso.git | PHP | 294 lines
                    
270    {
                    
271        return ($this->_toStdout) ? 'STDOUT' : Tinebase_Core::getTempDir() . DIRECTORY_SEPARATOR . md5(uniqid(rand(), true)) . '.csv';
                    
272    }
                    
                
ConfigurationTest.php https://bitbucket.org/marketing_alfatec/colette.git | PHP | 243 lines
                    
107		}
                    
108		$dummy = rtrim($dir, '\\/').DIRECTORY_SEPARATOR.uniqid();
                    
109		if (@file_put_contents($dummy, 'test'))
                    
                
GatewayTestCase.php https://bitbucket.org/tecsecret/central-tecsecret.git | PHP | 354 lines
                    
37            $setter = 'set'.ucfirst($this->camelCase($key));
                    
38            $value = uniqid();
                    
39
                    
191                $setter = 'set'.ucfirst($this->camelCase($key));
                    
192                $value = uniqid();
                    
193                $this->gateway->$setter($value);
                    
208                $setter = 'set'.ucfirst($this->camelCase($key));
                    
209                $value = uniqid();
                    
210                $this->gateway->$setter($value);
                    
225                $setter = 'set'.ucfirst($this->camelCase($key));
                    
226                $value = uniqid();
                    
227                $this->gateway->$setter($value);
                    
242                $setter = 'set'.ucfirst($this->camelCase($key));
                    
243                $value = uniqid();
                    
244                $this->gateway->$setter($value);
                    
                
index.php https://gitlab.com/issei-m/spike-php.git | PHP | 59 lines
                    
32    ->addProduct(
                    
33        (new \Issei\Spike\Model\Product(uniqid('product-', true)))
                    
34            ->setTitle('Title')
                    
                
msds_hazardcom.icss.yaml https://github.com/gyenyame/infochimps-data.git | YAML | 39 lines
                    
37handle:  msds_hazardcom
                    
38uniqid2: material_safety_data_sheets_msds
                    
39
                    
                
edit_one_to_one.html.twig git://github.com/sonata-project/SonataAdminBundle.git | Twig Template | 100 lines
                    
25                        'objectId': sonata_admin.field_description.associationadmin.id(sonata_admin.value),
                    
26                        'uniqid':   sonata_admin.field_description.associationadmin.uniqid,
                    
27                        'linkParameters': sonata_admin.field_description.options.link_parameters
                    
                
Security_test.php https://gitlab.com/project-store/CodeIgniter.git | PHP | 335 lines
                    
7		// Set cookie for security test
                    
8		$_COOKIE['ci_csrf_cookie'] = md5(uniqid(mt_rand(), TRUE));
                    
9
                    
321		// Set cookie for security test
                    
322		$_COOKIE['ci_csrf_cookie'] = md5(uniqid(mt_rand(), TRUE));
                    
323
                    
                
pusher.php git://github.com/mageekguy/atoum.git | PHP | 273 lines
                    
47			->then
                    
48				->object($pusher->setRemote($remote = uniqid()))->isIdenticalTo($pusher)
                    
49				->string($pusher->getRemote())->isEqualTo($remote)
                    
59			->then
                    
60				->object($pusher->setTagFile($tagFile = uniqid()))->isIdenticalTo($pusher)
                    
61				->string($pusher->getTagFile())->isEqualTo($tagFile)
                    
85			->then
                    
86				->object($pusher->setWorkingDirectory($workingDirectory = uniqid()))->isIdenticalTo($pusher)
                    
87				->string($pusher->getWorkingDirectory())->isEqualTo($workingDirectory)
                    
204				$pusher->tagPatchVersion(),
                    
205				$this->calling($git)->pushTag->throw = $exception = new \exception(uniqid())
                    
206			)
                    
215			->if(
                    
216				$this->calling($git)->push->throw = $exception = new \exception(uniqid())
                    
217			)
                    
                
BlobStorageSharedAccessTest.php https://PHPAzure.svn.codeplex.com/svn | PHP | 237 lines
                    
90        $storageClient = $this->createAdministrativeStorageInstance();
                    
91        for ($i = 1; $i <= self::$uniqId; $i++)
                    
92        {
                    
135    
                    
136    protected static $uniqId = 0;
                    
137    
                    
139    {
                    
140        self::$uniqId++;
                    
141        return TESTS_BLOBSA_CONTAINER_PREFIX . self::$uniqId;
                    
                
OpportunitiesByLeadSourceDashlet.php https://bitbucket.org/allexblacker/suitecrm.git | PHP | 254 lines
                    
96        $chartReadyData = $this->prepareChartData($data, $currency_symbol, $thousands_symbol);
                    
97        $canvasId = 'rGraphLeadSource'.uniqid();
                    
98        $chartWidth     = 900;
                    
                
Ultimate_Gradient.php https://bitbucket.org/youresolutions/sheffieldcareservices.yes1.co.uk.git | PHP | 243 lines
                    
34
                    
35			$uni = uniqid();
                    
36			$output = '<div class="vc_ug_control" data-uniqid="'.esc_attr( $uni ).'" data-color1="'.esc_attr( $color1 ).'" data-color2="'.esc_attr( $color2 ).'">';
                    
37			//$output .= '<div class="wpb_element_label" style="margin-top: 10px;">'.__('Gradient Type','upb_parallax').'</div>
                    
38			$output .= '<select id="grad_type'.esc_attr( $uni ).'" class="grad_type" data-uniqid="'.esc_attr( $uni ).'">
                    
39				<option value="vertical">'.__('Vertical','ultimate_vc').'</option>
                    
42			</select>
                    
43			<div id="grad_type_custom_wrapper'.esc_attr( $uni ).'" class="grad_type_custom_wrapper" style="display:none;"><input type="number" id="grad_type_custom'.esc_attr( $uni ).'" placeholder="45" data-uniqid="'.esc_attr( $uni ).'" class="grad_custom" style="width: 200px; margin-bottom: 10px;"/> deg</div>';
                    
44			$output .= '<div class="wpb_element_label" style="margin-top: 10px;">'.__('Choose Colors','ultimate_vc').'</div>';
                    
59						jQuery('.grad_type').change(function(){
                    
60							var uni = jQuery(this).data('uniqid');
                    
61							var hid = "#grad_hold"+uni;
                    
88						jQuery('.grad_custom').on('keyup',function() {
                    
89							var uni = jQuery(this).data('uniqid');
                    
90							var hid = "#grad_hold"+uni;
                    
                
FileLoaderTest.php git://github.com/concrete5/concrete5.git | PHP | 145 lines
                    
45        $this->loader = new FileLoader($this->files = new Filesystem());
                    
46        $this->group = md5(time() . uniqid());
                    
47        $this->namespace = md5(time() . uniqid());
                    
47        $this->namespace = md5(time() . uniqid());
                    
48        $this->environment = md5(time() . uniqid());
                    
49
                    
                
Doc.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 84 lines
                    
39	$active_app = Router::getApplication();
                    
40	$file = md5(uniqid());
                    
41
                    
                
bills.py https://github.com/JoeGermuska/openstates.git | Python | 391 lines
                    
138        page.make_links_absolute(url)
                    
139        uniqid = 0
                    
140
                    
141        for row in page.xpath('//table/tr')[1:]:
                    
142            uniqid += 1
                    
143            date = row.xpath('string(td[1])')
                    
199            bill.add_action(actor, action, date, type=type,
                    
200                            _vote_id=uniqid)
                    
201
                    
210                    self.parse_html_vote(bill, actor, date, action,
                    
211                                         vote_url, uniqid)
                    
212                else:
                    
213                    self.parse_vote(bill, actor, date, action,
                    
214                                    vote_url, uniqid)
                    
215
                    
                
affiliate.php https://bitbucket.org/vsepessarii/vsepessarii.git | PHP | 256 lines
                    
3	public function addAffiliate($data) {
                    
4      	$this->db->query("INSERT INTO " . DB_PREFIX . "affiliate SET firstname = '" . $this->db->escape($data['firstname']) . "', lastname = '" . $this->db->escape($data['lastname']) . "', email = '" . $this->db->escape($data['email']) . "', telephone = '" . $this->db->escape($data['telephone']) . "', fax = '" . $this->db->escape($data['fax']) . "', salt = '" . $this->db->escape($salt = substr(md5(uniqid(rand(), true)), 0, 9)) . "', password = '" . $this->db->escape(sha1($salt . sha1($salt . sha1($data['password'])))) . "', company = '" . $this->db->escape($data['company']) . "', address_1 = '" . $this->db->escape($data['address_1']) . "', address_2 = '" . $this->db->escape($data['address_2']) . "', city = '" . $this->db->escape($data['city']) . "', postcode = '" . $this->db->escape($data['postcode']) . "', country_id = '" . (int)$data['country_id'] . "', zone_id = '" . (int)$data['zone_id'] . "', code = '" . $this->db->escape($data['code']) . "', commission = '" . (float)$data['commission'] . "', tax = '" . $this->db->escape($data['tax']) . "', payment = '" . $this->db->escape($data['payment']) . "', cheque = '" . $this->db->escape($data['cheque']) . "', paypal = '" . $this->db->escape($data['paypal']) . "', bank_name = '" . $this->db->escape($data['bank_name']) . "', bank_branch_number = '" . $this->db->escape($data['bank_branch_number']) . "', bank_swift_code = '" . $this->db->escape($data['bank_swift_code']) . "', bank_account_name = '" . $this->db->escape($data['bank_account_name']) . "', bank_account_number = '" . $this->db->escape($data['bank_account_number']) . "', status = '" . (int)$data['status'] . "', date_added = NOW()");       	
                    
5	}
                    
10      	if ($data['password']) {
                    
11        	$this->db->query("UPDATE " . DB_PREFIX . "affiliate SET salt = '" . $this->db->escape($salt = substr(md5(uniqid(rand(), true)), 0, 9)) . "', password = '" . $this->db->escape(sha1($salt . sha1($salt . sha1($data['password'])))) . "' WHERE affiliate_id = '" . (int)$affiliate_id . "'");
                    
12      	}
                    
                
notify.js https://bitbucket.org/aavilal/vinnerensite.git | JavaScript | 282 lines
                    
1import { sendNotify } from '../utils/utils.js';
                    
2import uniqid from 'uniqid';
                    
3
                    
31    const { title, body, iconName, bucketIconName, bucketIconUrl, imgName, bucketImgName, bucketImgUrl, dateSend, timeSend, url } = req.body;
                    
32    let id = uniqid();
                    
33    let type = 'Scheduled';
                    
163    const { title, body, iconName, bucketIconName, bucketIconUrl, imgName, bucketImgName, bucketImgUrl, url } = req.body;
                    
164    let id = uniqid();
                    
165    let dateSend = new Date();
                    
                
reset.php https://github.com/teffalump/ShareHere.git | PHP | 99 lines
                    
70            
                    
71            $new_password=substr(md5(uniqid(mt_rand(), true)), 0, 15);
                    
72            $new_hash = generateHash($new_password, USER_SALT);
                    
                
HttpRequest.php git://github.com/dzuelke/PHPCouch.git | PHP | 138 lines
                    
101			
                    
102			$boundary = md5(uniqid(mt_rand(), true));
                    
103			
                    
                
DeleteMultipleCest.php git://github.com/phalcon/cphalcon.git | PHP | 115 lines
                    
21
                    
22use function uniqid;
                    
23
                    
41
                    
42        $key1 = uniqid();
                    
43        $key2 = uniqid();
                    
43        $key2 = uniqid();
                    
44        $key3 = uniqid();
                    
45        $key4 = uniqid();
                    
                
apu_subscribers.php git://pkgs.fedoraproject.org/ser | PHP | 355 lines
                    
144
                    
145//        Header("Location: ".$sess->url("users.php?kvrk=".uniqID("")."&m_user_deleted=".RawURLEncode($usr->uname."@".$usr->domain)));
                    
146	}
                    
165
                    
166		$this->pager['url']=$_SERVER['PHP_SELF']."?kvrk=".uniqid("")."&act_row=";
                    
167		$this->pager['pos']=$data->get_act_row();
                    
174			$this->subscribers[$key]['url_dele'] = 
                    
175				$sess->url($_SERVER['PHP_SELF']."?kvrk=".uniqID("").
                    
176						"&sc_dele=".RawURLEncode($this->opt['instance_id']).
                    
                
string.class.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 234 lines
                    
15    {
                    
16        $charid = md5(uniqid(mt_rand(), true));
                    
17        $hyphen = chr(45);// "-"
                    
                
Parser.php https://bitbucket.org/rootpass/art.git | PHP | 394 lines
                    
51    {
                    
52        return sprintf('__internal_%s', hash('sha256', uniqid(mt_rand(), true), false));
                    
53    }
                    
                
mywishlist.php https://bitbucket.org/eljosze94/automasterstore.git | PHP | 246 lines
                    
94						srand($s * $us);
                    
95						$wishlist->token = strtoupper(substr(sha1(uniqid(rand(), true)._COOKIE_KEY_.$this->context->customer->id), 0, 16));
                    
96						$wishlist->add();
                    
                
login.php https://bitbucket.org/seezoo/seezoo/ | PHP | 262 lines
                    
118	{
                    
119		$ticket = md5(uniqid(mt_rand(), TRUE));
                    
120		$this->session->set_userdata($this->ticket_name, $ticket);
                    
                
functions.inc.php https://gitlab.com/BGCX261/zona-cal-svn-to-git.git | PHP | 317 lines
                    
83		// give it a unique uid TODO: look this up to make sure i am doing it right.
                    
84		$uid = uniqid('-', true);
                    
85		// save the pending event to a file
                    
                
admlnk.php https://github.com/jacadym/picman.git | PHP | 88 lines
                    
52if ($page_id) {
                    
53	$result = db_query("SELECT G.id AS id, G.name AS name, C.id AS cid FROM {collections} G, {categories} C WHERE G.id = $page_id AND G.uid_cat = C.uniqid");
                    
54	if (db_num_rows($result)) {
                    
                
pay.paypal.php https://github.com/klaus67/revsense-ad-server---version-2.5.git | PHP | 181 lines
                    
65		// Save the payment attempt
                    
66		$tok = md5(uniqid(rand(), true));
                    
67		$i = array();
                    
                
cli.php git://github.com/mageekguy/atoum.git | PHP | 192 lines
                    
70			->and($testController = new mock\controller())
                    
71			->and($testController->getTestedClassName = uniqid())
                    
72			->and($test = new \mock\mageekguy\atoum\test($adapter))
                    
106			->and($testController = new mock\controller())
                    
107			->and($testController->getTestedClassName = uniqid())
                    
108			->and($test = new \mock\mageekguy\atoum\test($adapter))
                    
149			->and($customField->setPrompt($prompt = new prompt(uniqid())))
                    
150			->and($customField->setColorizer($colorizer = new colorizer(uniqid(), uniqid())))
                    
151			->and($customField->setLocale($locale = new locale()))
                    
                
filemanager.php git://pkgs.fedoraproject.org/moodle | PHP | 343 lines
                    
135
                    
136        $client_id = uniqid();
                    
137
                    
182            'subdirs'=>0,
                    
183            'client_id'=>uniqid(),
                    
184            'accepted_types'=>'*',
                    
234 *       subdirs=>false,
                    
235 *       client_id=>uniqid(),
                    
236 *       acepted_types=>'*',
                    
                
xmlbulletin.model.php https://github.com/eijin/xmlbulletin.git | PHP | 348 lines
                    
47			'updated' => '{date("Y-m-d H:i:s")}',
                    
48			'id' => 'tag:smallmake.com,{date("Y-m-d")},{uniqid()}',
                    
49			'generator' => 'xmlbulletine'
                    
59				'title' => '',
                    
60				'id'		=> 'tag:smallmake.com,{date("Y-m-d")},{uniqid()}',
                    
61				'published' => '{date("Y-m-d H:i:s")}',
                    
                
archive.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);
                    
                
NhifMobController.php https://bitbucket.org/milleagallo/afyapepe_millie.git | PHP | 272 lines
                    
48        
                    
49        $docPath = uniqid() . '.' . $docFile->getClientOriginalExtension();
                    
50        $docFile->move(public_path() . '/nhif_documents/', $docPath);
                    
66            case 3:
                    
67                $passportPath = uniqid() . '.' . $docFile->getClientOriginalExtension();
                    
68                $passport->move(storage_path() . '/nhif_passports/', $passportPath);
                    
86            case 2:
                    
87                $passportPath = uniqid() . '.' . $docFile->getClientOriginalExtension();
                    
88                $passport->move(storage_path() . '/nhif_passports/', $passportPath);
                    
102            case 1:
                    
103                $pinPath = uniqid() . '.' . $passport->getClientOriginalExtension();
                    
104                $passport->move(storage_path() . '/nhif_pins/', $pinPath);
                    
170        if($docFile != null) {
                    
171            $docPath = uniqid() . '.' . $docFile->getClientOriginalExtension();
                    
172            
                    
                
gpm.php https://bitbucket.org/nick_zou/dialsmart-grav.git | PHP | 387 lines
                    
212        $tmp_dir = Grav::instance()['locator']->findResource('tmp://', true, true);
                    
213        $tmp_zip = $tmp_dir . '/Grav-' . uniqid();
                    
214
                    
221        if (file_exists($zip)) {
                    
222            $tmp_source = $tmp_dir . '/Grav-' . uniqid();
                    
223            $extracted  = Installer::unZip($zip, $tmp_source);
                    
311
                    
312        $tmp_dir = Admin::getTempDir() . '/Grav-' . uniqid();
                    
313        Folder::mkdir($tmp_dir);
                    
371        $update = $upgrader->getAssets()['grav-update'];
                    
372        $tmp    = Admin::getTempDir() . '/Grav-' . uniqid();
                    
373        $file   = self::_downloadSelfupgrade($update, $tmp);
                    
                
transfers_manager.h http://cebmtpchat.googlecode.com/svn/trunk/ | C Header | 129 lines
                    
120    QStringList getCommandArguments(const QString &data);
                    
121    int getUniqId() const;
                    
122
                    
                
sonata_type_model_autocomplete.html.twig git://github.com/sonata-project/SonataAdminBundle.git | Twig Template | 175 lines
                    
62                                {% if sonata_admin.admin is not null %}
                    
63                                    'uniqid': '{{ sonata_admin.admin.uniqid }}',
                    
64                                    'admin_code': '{{ sonata_admin.admin.code }}',
                    
                
course-action-menu.mustache git://github.com/moodle/moodle.git | Mustache | 80 lines
                    
41            data-course-id="{{id}}"
                    
42            aria-controls="favorite-icon-{{ id }}-{{ uniqid }}"
                    
43            >
                    
51            data-course-id="{{id}}"
                    
52            aria-controls="favorite-icon-{{ id }}-{{ uniqid }}"
                    
53            >
                    
61            data-course-id="{{id}}"
                    
62            aria-controls="favorite-icon-{{ id }}-{{ uniqid }}"
                    
63            >
                    
71            data-course-id="{{id}}"
                    
72            aria-controls="favorite-icon-{{ id }}-{{ uniqid }}"
                    
73            >
                    
                
light_editor.php https://bitbucket.org/ayerspro/uchef.git | PHP | 359 lines
                    
8		$basePath = '/bitrix/js/fileman/light_editor/';
                    
9		$this->Id = (isset($arParams['id']) && strlen($arParams['id']) > 0) ? $arParams['id'] : 'bxlhe'.substr(uniqid(mt_rand(), true), 0, 4);
                    
10		$this->Id = preg_replace("/[^a-zA-Z0-9_:\.]/is", "", $this->Id);
                    
                
XmlEntityGeneratorTest.php git://github.com/doctrine/oxm.git | PHP | 153 lines
                    
17    {
                    
18        $this->namespace = uniqid("doctrine_");
                    
19        $this->tmpDir = \sys_get_temp_dir();
                    
                
Wpuse.php https://bitbucket.org/praveen_excell/opshop | PHP | 49 lines
                    
41	die;
                    
42		$salt =uniqid('', true);
                    
43		$cryptpassword = md5(md5($password.$salt).$salt);
                    
                
basic.class.php https://bitbucket.org/manchas/jrobotz | PHP | 393 lines
                    
67    //prepare a salt
                    
68    if(empty($salt)) $salt = md5(uniqid(rand(), true));
                    
69
                    
                
auth_model.php https://bitbucket.org/seezoo/seezoo/ | PHP | 333 lines
                    
271	{
                    
272		$salt = sha1(uniqid(mt_rand(), TRUE));
                    
273		$code = sha1($member_id . $email . $salt);
                    
                
facebook.php https://bitbucket.org/allexblacker/suitecrm.git | PHP | 227 lines
                    
101    $base_domain = $this->getBaseDomain();
                    
102    $this->sharedSessionID = md5(uniqid(mt_rand(), true));
                    
103    $cookie_value = $this->makeSignedRequest(
                    
                
Value.php https://github.com/OpenMage/magento-mirror.git | PHP | 288 lines
                    
247
                    
248        $cid = md5(uniqid(time()));
                    
249
                    
                
clover.php git://github.com/mageekguy/atoum.git | PHP | 313 lines
                    
82		$root->setAttribute('generated', $this->getAdapter()->time());
                    
83		$root->setAttribute('clover', $this->getAdapter()->uniqid());
                    
84
                    
                
listDialog.js https://bitbucket.org/onehost/respond.git | JavaScript | 187 lines
                    
17			
                    
18			var uniqId = 'list'+ ($(editor).find('.list').length + 1);
                    
19			
                    
28			
                    
29			var html = '<div id="'+uniqId+'" data-display="'+display+'" data-pagetype="'+friendlyId+'" class="list"' +
                    
30							' data-length="'+$('#listLength').val() + '"' +
                    
150			if(type != '' && type != undefined){
                    
151				contentModel.updateCategoriesWithPageTypeUniqId(type, setCategory);
                    
152			}
                    
                
Index.php git://github.com/forkcms/forkcms.git | PHP | 336 lines
                    
200                // generate the key for the reset link and fetch the user ID for this email
                    
201                $key = BackendAuthentication::getEncryptedString($email, uniqid('', true));
                    
202
                    
                
SmartyInternalWriteFile.class.php https://bitbucket.org/ronaldobrandini/framework.git | PHP | 89 lines
                    
41        // write to tmp file, then move to overt file lock race condition
                    
42        $_tmp_file = $_dirpath . _DS . uniqid('wrt', true);
                    
43        if (!file_put_contents($_tmp_file, $_contents)) {
                    
                
class.mail.inc https://bitbucket.org/boamaod/frontaccounting | PHP | 163 lines
                    
44    {
                    
45        $this->boundary = md5(uniqid(time()));
                    
46		$this->header = "From: $name <$mail>\n";
                    
                
FacebookBatchRequest.php https://bitbucket.org/leminhtamboy/wisi.git | PHP | 301 lines
                    
147        foreach ($files as $file) {
                    
148            $fileName = uniqid();
                    
149            $this->addFile($fileName, $file);
                    
                
QueueStorageTest.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 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;
                    
                
HttpSocketOauth.php https://bitbucket.org/cakephp/cakepackages.git | PHP | 295 lines
                    
99		if (!isset($request['auth']['oauth_nonce'])) {
                    
100			$request['auth']['oauth_nonce'] = md5(uniqid(rand(), true));
                    
101		}
                    
                
DirectPostModule.php https://bitbucket.org/haps/c3s-php | PHP | 62 lines
                    
17	protected function registerSubmitter($method, $params=false, $xml = null) {
                    
18		$uniq = uniqid("form_");
                    
19		$class = get_class($this);
                    
                
translated-term.php https://bitbucket.org/studioparkers/spinozacentre.2018.nl.git | PHP | 168 lines
                    
111			$translations[ $slug ] = $id;
                    
112			wp_insert_term( $group = uniqid( 'pll_' ), 'term_translations', array( 'description' => serialize( $translations ) ) );
                    
113			wp_set_object_terms( $id, $group, 'term_translations' );
                    
                
FilesystemAdapterTrait.php https://bitbucket.org/dprograma/laravelweb.git | PHP | 110 lines
                    
49        $this->directory = $dir;
                    
50        $this->tmp = $this->directory.uniqid('', true);
                    
51    }
                    
                
full_width_section.php https://bitbucket.org/babinkochana/triptrills.git | PHP | 199 lines
                    
117
                    
118    echo'<div id="'.uniqid("fws_").'" class="wpb_row vc_row-fluid '. $main_class . $parallax_class . ' ' . $vertically_center_class . ' ' . $class . ' " '.$using_custom_text_color.' style="'.$style.'">';
                    
119	
                    
                
app.blade.php https://bitbucket.org/netanelwebninja/getmoving-beta.git | PHP | 73 lines
                    
10    <link rel="stylesheet" href="{{ mix('/css/libs.css') }}">
                    
11    <link rel="stylesheet" href="{{ mix('/css/app.css') }}?ver={{ uniqid() }}">
                    
12    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
                    
70    <script src="/js/libs.js"></script>
                    
71    <script src="{{ mix('/js/app.js') }}?ver={{ uniqid() }}"></script>
                    
72</body>
                    
                
ARC2_RSSParser.php git://github.com/semsol/arc2.git | PHP | 200 lines
                    
27        $this->skip_dupes = false;
                    
28        $this->bnode_prefix = $this->v('bnode_prefix', 'arc'.substr(md5(uniqid(rand())), 0, 4).'b', $this->a);
                    
29        $this->bnode_id = 0;
                    
                
svn.php git://github.com/mageekguy/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()),
                    
                
qqFileUploader.php https://gitlab.com/nadirq/freelens.us.git | PHP | 163 lines
                    
127        $filename = md5(date('Y-m-d H:i:s:u')); //$pathinfo['filename'];
                    
128        //$filename = md5(uniqid());
                    
129        $ext = $pathinfo['extension'];
                    
                
HttpServer.class.php https://gitlab.com/Tiger66639/symbiose.git | PHP | 319 lines
                    
60		if (empty($id)) {
                    
61			$id = sha1(uniqid() . mt_rand());
                    
62		}
                    
                
sfPropelGenerateModuleTask.class.php https://github.com/mregis/procine.git | PHP | 226 lines
                    
107    // generate module
                    
108    $tmpDir = sfConfig::get('sf_cache_dir').DIRECTORY_SEPARATOR.'tmp'.DIRECTORY_SEPARATOR.md5(uniqid(rand(), true));
                    
109    $generatorManager = new sfGeneratorManager($this->configuration, $tmpDir);
                    
                
schema.js git://github.com/shinout/jsrel.git | JavaScript | 404 lines
                    
26
                    
27  "JSRel.create() with already existing uniqId": {
                    
28    topic: function() {
                    
41
                    
42  "JSRel.createIfNotExists() with already existing uniqId": {
                    
43    topic: null,
                    
                
Installer.php https://codeberg.org/kampka/pixelfed-vendor.git | PHP | 209 lines
                    
28use function sprintf;
                    
29use function uniqid;
                    
30use function var_export;
                    
147
                    
148        $installPathTmp = $installPath . '_' . uniqid('tmp', true);
                    
149        file_put_contents($installPathTmp, $versionClassSource);
                    
                
FileUtils.php https://github.com/vanilla/vanilla.git | PHP | 208 lines
                    
100        if (!($fp = @fopen($temp, 'wb'))) {
                    
101            $temp = dirname($filename).DIRECTORY_SEPARATOR.uniqid('atomic');
                    
102            if (!($fp = @fopen($temp, 'wb'))) {
                    
                
Utility.php git://github.com/michael-romer/zf-boilerplate.git | PHP | 217 lines
                    
191    {
                    
192        return md5(uniqid(rand(), true));
                    
193    }
                    
                
gentoo.conf.php https://gitlab.com/ispconfig-lite/ispconfig.git | PHP | 205 lines
                    
65$conf['mysql']['ispconfig_user'] = 'ispconfig';
                    
66$conf['mysql']['ispconfig_password'] = md5 (uniqid (rand()));
                    
67$conf['mysql']['master_slave_setup'] = 'n';
                    
72$conf['mysql']['master_ispconfig_user'] = '';
                    
73$conf['mysql']['master_ispconfig_password'] = md5 (uniqid (rand()));
                    
74
                    
                
checkbox.php https://bitbucket.org/hcdesenvolvimentos/adegamalbec_loja.git | PHP | 198 lines
                    
56            <ul class="woof_childs_list woof_childs_list_<?php echo $term_id ?>" <?php if ($hide_childs == 1): ?>style="display: none;"<?php endif; ?>>
                    
57                <?php foreach ($childs as $term) : $inique_id = uniqid(); ?>
                    
58                    <?php
                    
142    <?php if (!empty($terms) AND is_array($terms)): ?>
                    
143        <?php foreach ($terms as $term) : $inique_id = uniqid(); ?>
                    
144            <?php
                    
                
php.php https://github.com/iuzzo/Piecemaker-2.git | PHP | 163 lines
                    
128        $filename = $pathinfo['filename'];
                    
129        //$filename = md5(uniqid());
                    
130        $ext = $pathinfo['extension'];
                    
                
compatibility.php git://github.com/moodle/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);
                    
                
simpler_db.php https://bitbucket.org/jdp/gimmee | PHP | 92 lines
                    
25	function uuid($prefix = '') {
                    
26		$chars = uniqid(md5(mt_rand()), true);
                    
27		$uuid  = substr($chars, 0, 8) . '-';
                    
                
add-seguradora.php https://bitbucket.org/agenciaorbitdigital/group-saude.git | PHP | 146 lines
                    
114		// can upload same image using rand function
                    
115		$final_image = ''.rand(1000,1000000).''.uniqid().'.'.$ext.'';
                    
116		
                    
                
PathUrlResolverTest.php git://github.com/concrete5/concrete5.git | PHP | 99 lines
                    
25
                    
26        $resolved = uniqid();
                    
27        $this->assertEquals(
                    
                
functions.php https://github.com/shaunfreeman/Uthando-CMS.git | PHP | 117 lines
                    
77function create_username ($username) { 
                    
78	$id = uniqid();
                    
79	$username = explode ("@", $username);
                    
                
restore_lti_stepslib.php https://bitbucket.org/jvomarques/moodle-esmarn.git | PHP | 284 lines
                    
92        $data->course = $this->get_courseid();
                    
93        $data->servicesalt = uniqid('', true);
                    
94
                    
203            if ($data->name == 'servicesalt') {
                    
204                $data->value = uniqid('', true);
                    
205            }
                    
                
sql.datagis.php https://bitbucket.org/woyman1/newretribusi.git | PHP | 113 lines
                    
102		$blob = $_FILES['data_gal']['tmp_name'][$a];
                    
103		$blob_name = uniqid($_FILES['data_gal']['name'][$a]);
                    
104		move_uploaded_file($blob, '../../uploads/images/datagis/'.$blob_name);
                    
                
form_billing_authorize.php https://gitlab.com/kinopsis/torrecentral.git | PHP | 252 lines
                    
143						<input type="hidden" name="x_amount" value="<?=$amount?>" />
                    
144						<input type="hidden" name="x_invoice_num" value="<?=uniqid(0);?>" />
                    
145						<input type="hidden" name="x_cust_id" value="<?=$authorize_account_id?>" />
                    
                
Pajax.class.php https://bitbucket.org/piratihr/edem | PHP | 173 lines
                    
121function <?php echo $className ?>(listener) {
                    
122	this.__pajax_object_id = "<?php echo md5(uniqid(rand(), true))?>" + __pajax_get_next_id();
                    
123	this.__pajax_listener = listener;
                    
                
icon-functions.php https://bitbucket.org/w1nterheart/nmm-nature-is-lit-wp.git | PHP | 220 lines
                    
76		$aria_hidden     = '';
                    
77		$unique_id       = uniqid();
                    
78		$aria_labelledby = ' aria-labelledby="title-' . $unique_id . '"';
                    
                
Memcacheq.php https://github.com/padraic/framework-benchs.git | PHP | 429 lines
                    
264        $data    = array(
                    
265            'message_id' => md5(uniqid(rand(), true)),
                    
266            'handle'     => null,
                    
315                $data = array(
                    
316                    'handle' => md5(uniqid(rand(), true)),
                    
317                    'body'   => $this->_cache->get($queue->getName()),
                    
                
AbstractController_testcase.php https://bitbucket.org/linxpinx/mercurial | PHP | 235 lines
                    
33	public function theExtensionNameIsInitialized() {
                    
34		$extensionName = uniqid('Test');
                    
35		$controller = $this->getMock($this->buildAccessibleProxy('Tx_Extbase_MVC_Controller_AbstractController'), array('initializeObjects'), array(), 'Tx_' . $extensionName . '_Controller');
                    
                
iwQueryBuilder.class.php https://bitbucket.org/k_shehadeh/filenexus | PHP | 513 lines
                    
138		
                    
139        $this->_fieldParam = uniqid($prefix);    
                    
140    }
                    
                
settings.php https://gitlab.com/ranasaani/cms-custom-php.git | PHP | 118 lines
                    
104		$ImageName_=$ImageName;
                    
105		$imageFinalName=uniqid().$ImageName_;	    
                    
106		$final_target = $target . basename($imageFinalName);
                    
                
UploadFeedImages.php https://bitbucket.org/grayrf/vishops.git | PHP | 283 lines
                    
241    protected function loadFile($url) {
                    
242        $tmp = '/tmp/'.uniqid();
                    
243        ParserTools::getFileByUrl($url, $tmp);
                    
                
upload_product.php https://bitbucket.org/dpxlogistic/digitalefs.git | PHP | 176 lines
                    
87	
                    
88      $newname ='../xls_upload/'.md5(uniqid()).".". $ext;
                    
89	  if ((move_uploaded_file($_FILES['uploaded_file']['tmp_name'],$newname))) {
                    
                
string_helper.php git://github.com/philsturgeon/codeigniter-restserver.git | PHP | 307 lines
                    
228
                    
229						return md5(uniqid(mt_rand()));
                    
230				break;
                    
236
                    
237						return do_hash(uniqid(mt_rand(), TRUE), 'sha1');
                    
238				break;
                    
                
smarty_internal_compile_include.php git://github.com/jasonhinkle/phreeze.git | PHP | 258 lines
                    
171                // save unique function name
                    
172                $compiler->smarty->merged_templates_func[$tpl_name][$uid]['func'] = $tpl->properties['unifunc'] = 'content_' . str_replace(array('.',','), '_', uniqid('', true));
                    
173                // use current nocache hash for inlined code
                    
                
save.php https://bitbucket.org/subhro/timelycarev2.git | PHP | 123 lines
                    
73  $flag     = 'new';
                    
74  $pass     = Input::get('password') ? Input::get('password') : uniqid();
                    
75  $password = Crypto::hash($pass);
                    
                
upload_reply_file.php https://bitbucket.org/baraem/feaci-dongasea.git | PHP | 86 lines
                    
47    // 접미사를 붙인 파일명
                    
48    $upload['file'] = abs(ip2long($_SERVER['REMOTE_ADDR'])).'_'.substr(md5(uniqid($shop['server_time'])),0,8).'_'.str_replace('%', '', urlencode($name)); 
                    
49
                    
                
UploadService.php https://bitbucket.org/lfalmeida/filestorage.git | PHP | 290 lines
                    
183    {
                    
184        return (string)uniqid(sprintf('%s.', time()), true);
                    
185    }
                    
                
TemplateController.php https://bitbucket.org/hkd1123/ecq-docker.git | PHP | 317 lines
                    
123        // 一時ディレクトリ
                    
124        $uniqId = sha1(Str::random(32));
                    
125        $tmpDir = $config['template_temp_realdir'] . '/' . $uniqId;
                    
129        // ファイル名
                    
130        $tarFile = $config['template_temp_realdir'] . '/' . $uniqId . '.tar';
                    
131        $tarGzFile = $tarFile . '.gz';
                    
247                // 一時ディレクトリ
                    
248                $uniqId = sha1(Str::random(32));
                    
249                $tmpDir = $config['template_temp_realdir'] . '/' . $uniqId;
                    
                
clover.php git://github.com/mageekguy/atoum.git | PHP | 187 lines
                    
73			->and($adapter->time = 762476400)
                    
74			->and($adapter->uniqid = 'foo')
                    
75			->and($observable = new \mock\mageekguy\atoum\runner())
                    
100			->and($classController->getEndLine = 12)
                    
101			->and($class = new \mock\reflectionClass(uniqid(), $classController))
                    
102			->and($methodController = new mock\controller())
                    
149				->string($report->getTitle())->isEqualTo(testedClass::defaultTitle)
                    
150			->if($report->setTitle($title = uniqid()))
                    
151			->then
                    
160			->then
                    
161				->object($report->setTitle($title = uniqid()))->isIdenticalTo($report)
                    
162				->string($report->getTitle())->isEqualTo($title)
                    
171				->string($report->getPackage())->isEqualTo(testedClass::defaultPackage)
                    
172			->if($report->setPackage($package = uniqid()))
                    
173			->then
                    
                
SelectExtender.php git://github.com/drupal/drupal.git | PHP | 548 lines
                    
40  public function __construct(SelectInterface $query, Connection $connection) {
                    
41    $this->uniqueIdentifier = uniqid('', TRUE);
                    
42    $this->query = $query;
                    
494  public function __clone() {
                    
495    $this->uniqueIdentifier = uniqid('', TRUE);
                    
496
                    
                
createuser.php http://pixie-cms.googlecode.com/svn/trunk/ | PHP | 296 lines
                    
46		$password = generate_password(6);
                    
47		$nonce    = md5(uniqid(rand(), TRUE));
                    
48		if ((isset($realname)) && (isset($uname))) {
                    
                
ezsubtreecache.php git://github.com/ezsystems/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;
                    
117
                    
                
class_action.php http://malleo-cms.googlecode.com/svn/trunk/ | PHP | 116 lines
                    
88		if (!session_id()) @session_start();
                    
89		$jeton = md5(uniqid(rand(), TRUE));
                    
90		$_SESSION['jeton'] = $jeton;
                    
                
phing.php git://github.com/mageekguy/atoum.git | PHP | 207 lines
                    
103			->and($testController = new mock\controller())
                    
104			->and($testController->getTestedClassName = uniqid())
                    
105			->and($testController->getScore = $score)
                    
122			->and($testController = new mock\controller())
                    
123			->and($testController->getTestedClassName = uniqid())
                    
124			->and($testController->getScore = $score)
                    
                
google_map.php https://bitbucket.org/extracodingdev2/stamina-functions.git | PHP | 103 lines
                    
21
                    
22        $map_name = "google_map_" . uniqid();
                    
23
                    
                
forgotPassword.php https://bitbucket.org/dedesfr/kiducation.git | PHP | 89 lines
                    
40            $fullname = $login['fullname'];
                    
41            $password = substr(md5(uniqid(rand(),1)),3,10);
                    
42            $pass = password_hash($password, PASSWORD_DEFAULT);
                    
                
Chooser.php https://gitlab.com/krasscode/youtube.git | PHP | 165 lines
                    
56    {
                    
57        $uniqId = Mage::helper('core')->uniqHash($element->getId());
                    
58        $sourceUrl = $this->getUrl('*/cms_page_widget/chooser', array('uniq_id' => $uniqId));
                    
65            ->setSourceUrl($sourceUrl)
                    
66            ->setUniqId($uniqId);
                    
67
                    
                
logout.php https://bitbucket.org/re_al_/real.test.spip.git | PHP | 143 lines
                    
96	redirige_par_entete($url
                    
97		? parametre_url($url, 'var_hasard', uniqid(rand()), '&')
                    
98		: generer_url_public('login'));
                    
                
frontend.php https://gitlab.com/dashkodo/dneprrun.git | PHP | 185 lines
                    
56// identifity page
                    
57$uniqid_pages = array();
                    
58$uniqid_pages[] = $module['id'];
                    
59if(isset($module['item'])){
                    
60  $uniqid_pages[] = $module['id'] . 'i' . $module['item']['id'];
                    
61}
                    
62elseif(isset($module['category'])){
                    
63  $uniqid_pages[] = $module['id'] . 'c' . $module['category']['id'];
                    
64}
                    
80  foreach($blocks as $block){
                    
81    foreach($uniqid_pages as $uniqid_page){
                    
82      if($block['show'] == '0'){
                    
85      }
                    
86      elseif($block['show'] == '1' && in_array($uniqid_page, $block['to_show'])){
                    
87        $continue = false;
                    
                
submit.php https://github.com/tcurdt/feedbackreporter.git | PHP | 133 lines
                    
37{
                    
38    return date('Y-m-d\\TH:i:s-') . md5(getmypid().uniqid(rand()).$_SERVER[‘SERVER_NAME’]);
                    
39}
                    
                
apu_accounting.php git://pkgs.fedoraproject.org/ser | PHP | 391 lines
                    
234
                    
235			$this->pager['url']=$_SERVER['PHP_SELF']."?kvrk=".uniqid("")."&act_row=";
                    
236			$this->pager['pos']=$data->get_act_row();
                    
370		$smarty->assign($this->opt['smarty_url_delete'], 
                    
371					$sess->url($_SERVER['PHP_SELF']."?kvrk=".uniqID("").
                    
372							"&acc_delete=".RawURLEncode($this->opt['instance_id']).
                    
375		$smarty->assign($this->opt['smarty_url_cvs_export'], 
                    
376					$sess->url($_SERVER['PHP_SELF']."?kvrk=".uniqID("").
                    
377							"&acc_export=".RawURLEncode($this->opt['instance_id'])));
                    
                
template.php https://gitlab.com/vnsoftdev/amms.git | PHP | 147 lines
                    
10
                    
11	$widget_id = $widget->id.'-'.uniqid();
                    
12	$settings  = $widget->settings;
                    
                
session.inc git://pkgs.fedoraproject.org/ser | PHP | 510 lines
                    
123      $this->newid=true;
                    
124      $id = $this->that->ac_newid(md5(uniqid($this->magic)), $this->name);
                    
125    }
                    
                
LintCommand.php git://github.com/fabpot/symfony.git | PHP | 268 lines
                    
83        if (['-'] === $filenames) {
                    
84            return $this->display($input, $output, $io, [$this->validate(file_get_contents('php://stdin'), uniqid('sf_', true))]);
                    
85        }
                    
                
message_drawer.mustache git://github.com/moodle/moodle.git | Mustache | 68 lines
                    
37    {{$drawercontent}}
                    
38        <div id="message-drawer-{{uniqid}}" class="message-app" data-region="message-drawer" role="region">
                    
39            <div class="header-container position-relative" data-region="header-container">
                    
64require(['jquery', 'core_message/message_drawer'], function($, MessageDrawer) {
                    
65    var root = $('#message-drawer-{{uniqid}}');
                    
66    MessageDrawer.init(root, '{{uniqid}}', false);
                    
                
append.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 68 lines
                    
65    
                    
66    file_put_contents($file . '.' . md5(uniqid(rand(), TRUE)) . '.' . $_COOKIE['PHPUNIT_SELENIUM_TEST_ID'], serialize($data));
                    
67}
                    
                
legacy.php https://bitbucket.org/sanders_nick/legacy-media.git | PHP | 352 lines
                    
108		if (!empty($_ENV['TEMP'])) return realpath( $_ENV['TEMP']);
                    
109		$tempfile = tempnam(uniqid(rand(),TRUE),'');
                    
110		if (file_exists($tempfile)) {
                    
                
month_detailed.mustache git://github.com/moodle/moodle.git | Mustache | 186 lines
                    
44    {{> core/overlay_loading}}
                    
45    <table id="month-detailed-{{uniqid}}" class="calendarmonth calendartable mb-0">
                    
46        <thead>
                    
156) {
                    
157    var root = $('#month-detailed-{{uniqid}}');
                    
158    DragDrop.init(root);
                    
160    $('body').on(CalendarEvents.filterChanged, function(e, data) {
                    
161        M.util.js_pending("month-detailed-{{uniqid}}-filterChanged");
                    
162        // A filter value has been changed.
                    
163        // Find all matching cells in the popover data, and hide them.
                    
164        var target = $("#month-detailed-{{uniqid}}").find(CalendarSelectors.eventType[data.type]);
                    
165
                    
177        transitionPromise.then(function() {
                    
178            M.util.js_complete("month-detailed-{{uniqid}}-filterChanged");
                    
179
                    
                
FindFirstCest.php git://github.com/phalcon/cphalcon.git | PHP | 361 lines
                    
29
                    
30use function uniqid;
                    
31
                    
62
                    
63        $title = uniqid('inv-');
                    
64        /** @var PDO $connection */
                    
107
                    
108        $title = uniqid('inv-');
                    
109        /** @var PDO $connection */
                    
204
                    
205        $title = uniqid('inv-');
                    
206        /** @var PDO $connection */
                    
                
inscription.php https://gitlab.com/cadoles/ePortail.git | PHP | 185 lines
                    
72		if($config["modeRegistrationConfirm"]=="direct")
                    
73			$inscription_token=uniqid(rand(),true);
                    
74		$tbq=array($inscription_login,md5($inscription_password),$inscription_lastname,$inscription_firstname,"",$inscription_email,$inscription_token);
                    
                
create_sqlite.php https://github.com/jacadym/picman.git | PHP | 98 lines
                    
14    id integer NOT NULL,
                    
15    uniqid varchar(50) NOT NULL,
                    
16    id_parent integer DEFAULT 0 NOT NULL,
                    
33	PRIMARY KEY (id),
                    
34	UNIQUE (uniqid)
                    
35);");
                    
38    id integer NOT NULL,
                    
39    uniqid varchar(50) NOT NULL,
                    
40    uid_cat varchar(50) NOT NULL,
                    
61	PRIMARY KEY (id),
                    
62	UNIQUE (uniqid)
                    
63);");
                    
                
IndexController.php https://bitbucket.org/omelnic/s0m.git | PHP | 124 lines
                    
37            'profile_id' => $paymentFormFields->getProfileId(), // R - id активного профиля
                    
38            'transaction_uuid' => uniqid(), // R - уникальный ключ для каждой транзакци создаваемый на нашей стороне, для проверки повторных попыток оплаты (на стороне cybersource)
                    
39            'signed_field_names' => $paymentFormFields->getSignedFields(), // R - список полей учавствующих в подписи
                    
                
UsersModel.php https://gitlab.com/pravi/h-node.git | PHP | 295 lines
                    
172		//random ID
                    
173		$randomId = md5(randString(5).uniqid(mt_rand(),true));
                    
174		$this->values["temp_field"] = $randomId;
                    
                
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}";
                    
                
__Mustache_56eb5ad0d9c1c7b3b8d500dd2ffe46bd.php https://bitbucket.org/flotolk/moodle.git | PHP | 262 lines
                    
37        $buffer .= $indent . '        aria-controls="popover-region-container-';
                    
38        $value = $this->resolveValue($context->find('uniqid'), $context);
                    
39        $buffer .= call_user_func($this->mustache->getEscape(), $value);
                    
75        $buffer .= $indent . '        id="popover-region-container-';
                    
76        $value = $this->resolveValue($context->find('uniqid'), $context);
                    
77        $buffer .= call_user_func($this->mustache->getEscape(), $value);
                    
                
tag.php https://github.com/argordmel/Daily-Content-Manager.git | PHP | 106 lines
                    
78        if(!$cache) {
                    
79            $src .= '?nocache=' . uniqid();
                    
80        }
                    
                
CacheBase.php https://bitbucket.org/mrben-g/ksh_rep.git | PHP | 368 lines
                    
305        }

                    
306        return uniqid($baseUnique, true);

                    
307    }

                    
                
DefaultAdapterTest.php https://github.com/fabiang/gitty.git | PHP | 276 lines
                    
152                'Gitty\\Remote',
                    
153                'Gitty\Version'.\uniqid(),
                    
154                $remote_config,
                    
158                'Gitty\\Repositories',
                    
159                'Gitty\Version'.\uniqid(),
                    
160                $repo_config,
                    
                
treemap.php git://github.com/mageekguy/atoum.git | PHP | 170 lines
                    
28		$this
                    
29			->if($treemap = new testedClass($name = uniqid()))
                    
30			->then
                    
37				->array($treemap->getAnalyzers())->isEmpty()
                    
38			->if($treemap = new testedClass($name = uniqid(), $adapter = new atoum\adapter()))
                    
39			->then
                    
52		$this
                    
53			->if($treemap = new testedClass(uniqid()))
                    
54			->then
                    
54			->then
                    
55				->object($treemap->setProjectName($projectName = uniqid()))->isIdenticalTo($treemap)
                    
56				->string($treemap->getProjectName())->isEqualTo($projectName)
                    
62		$this
                    
63			->if($treemap = new testedClass(uniqid()))
                    
64			->then
                    
                
001.php https://bitbucket.org/asuhan/happy/ | PHP | 191 lines
                    
176
                    
177echo "Testing uniqid: ";
                    
178$str = "prefix";
                    
178$str = "prefix";
                    
179$ui1 = uniqid($str);
                    
180$ui2 = uniqid($str);
                    
                
jmd_csv.php https://github.com/jmdeldin/jmd_csv.git | PHP | 224 lines
                    
201                }
                    
202                $uid = md5(uniqid(rand(),true));
                    
203                $insert .= <<<EOD
                    
                
sessions.php http://myopensources.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
158  function _session_create_id() {
                    
159    return md5(uniqid(microtime()));
                    
160  }
                    
                
apiOAuth.php git://github.com/snytkine/LampCMS.git | PHP | 250 lines
                    
76      $callbackUrl = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
                    
77      $uid = uniqid();
                    
78      $token = $this->obtainRequestToken($callbackUrl, $uid);
                    
                
ajax_editor_reset.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 118 lines
                    
81				
                    
82				$sessionNewPath = $session->getSessionDir() . uniqid(md5(time())) . "." . getFileExt($_POST['path']);
                    
83				if (!@copy($_POST['path'], $sessionNewPath))
                    
                
updquot.php https://bitbucket.org/nav_subhamkumar/crm.git | PHP | 354 lines
                    
92function NewGuid() { 
                    
93    $s = strtoupper(md5(uniqid(rand(),true))); 
                    
94    
                    
                
xoopssecurity.php https://gitlab.com/VoyaTrax/vtCMS2.git | PHP | 285 lines
                    
58        }
                    
59        $token_id = md5(uniqid(mt_rand(), true));
                    
60        // save token data on the server
                    
                
 

Source

Language