PageRenderTime 114ms queryTime 12ms sortTime 1ms getByIdsTime 21ms findMatchingLines 15ms

100+ results results for 'uniqid repo:jacadym/picman' (114 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";
                    
                
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);
                    
                
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";
                    
                
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		}
                    
                
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));
                    
                
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 ???????????????
                    
                
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{
                    
                
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);
                    
                
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 . '"';
                    
                
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);
                    
                
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;
                    
                
Doc.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 84 lines
                    
39	$active_app = Router::getApplication();
                    
40	$file = md5(uniqid());
                    
41
                    
                
HttpRequest.php git://github.com/dzuelke/PHPCouch.git | PHP | 138 lines
                    
101			
                    
102			$boundary = md5(uniqid(mt_rand(), true));
                    
103			
                    
                
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);// "-"
                    
                
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);
                    
                
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")}',
                    
                
transfers_manager.h http://cebmtpchat.googlecode.com/svn/trunk/ | C Header | 129 lines
                    
120    QStringList getCommandArguments(const QString &data);
                    
121    int getUniqId() const;
                    
122
                    
                
XmlEntityGeneratorTest.php git://github.com/doctrine/oxm.git | PHP | 153 lines
                    
17    {
                    
18        $this->namespace = uniqid("doctrine_");
                    
19        $this->tmpDir = \sys_get_temp_dir();
                    
                
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);
                    
                
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			}
                    
                
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)) {
                    
                
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		}
                    
                
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()),
                    
                
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,
                    
                
Utility.php git://github.com/michael-romer/zf-boilerplate.git | PHP | 217 lines
                    
191    {
                    
192        return md5(uniqid(rand(), true));
                    
193    }
                    
                
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) . '-';
                    
                
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');
                    
                
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
                    
                
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)
                    
                
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'])));
                    
                
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    }
                    
                
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)) {
                    
                
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}";
                    
                
tag.php https://github.com/argordmel/Daily-Content-Manager.git | PHP | 106 lines
                    
78        if(!$cache) {
                    
79            $src .= '?nocache=' . uniqid();
                    
80        }
                    
                
sessions.php http://myopensources.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
158  function _session_create_id() {
                    
159    return md5(uniqid(microtime()));
                    
160  }
                    
                
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))
                    
                
EstimateLogoListener.php https://bitbucket.org/SergeAstapov/roddo.git | PHP | 118 lines
                    
55				$prefix = 'estm_' . $this->container->getParameter('kernel.environment');
                    
56				$entity->logo_filename = uniqid($prefix) . '.' . $file->guessExtension();
                    
57			}
                    
89//				$file->move($this->getUploadRootDir(), $file->guessExtension());
                    
90//				$entity->logo_filename = uniqid() . '.' . $file->guessExtension();
                    
91//			}
                    
                
media.php https://bitbucket.org/gregbenner/the-league-of-gentlemen-theme.git | PHP | 66 lines
                    
17			parse_str( $video_url['query'], $youtube );
                    
18			$id = uniqid( '', false );
                    
19			$return = '
                    
44		if ( in_array( $video_ext, $videos ) ) {
                    
45			$player_id = uniqid( '_', false );
                    
46
                    
57		if ( mb_substr( $media_url, -4 ) == '.mp3' ) {
                    
58			$player_id = uniqid( '_', false );
                    
59
                    
                
WidgetController.php https://bitbucket.org/acidel/buykoala.git | PHP | 70 lines
                    
41    {

                    
42        $uniqId = $this->getRequest()->getParam('uniq_id');

                    
43        $massAction = $this->getRequest()->getParam('use_massaction', false);

                    
46        $productsGrid = $this->getLayout()->createBlock('adminhtml/catalog_product_widget_chooser', '', array(

                    
47            'id'                => $uniqId,

                    
48            'use_massaction' => $massAction,

                    
56            $categoriesTree = $this->getLayout()->createBlock('adminhtml/catalog_category_widget_chooser', '', array(

                    
57                'id'                  => $uniqId.'Tree',

                    
58                'node_click_listener' => $productsGrid->getCategoryClickListenerJs(),

                    
                
affiliate.php https://bitbucket.org/MSambrook/dsgi-opencart-site.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      	}
                    
                
ga.php git://github.com/modolabs/Kurogo-Mobile-Web.git | PHP | 202 lines
                    
74      // otherwise this is a new user, create a new random id.
                    
75      $message = $userAgent . uniqid(getRandomNumber(), true);
                    
76    }
                    
                
KAsyncPostConvert.class.php https://bitbucket.org/pandaos/kaltura.git | PHP | 275 lines
                    
170			// creates the path
                    
171			$uniqid = uniqid('thumb_');
                    
172			$thumbPath = realpath($rootPath) . "/$uniqid";
                    
237		
                    
238		$uniqid = uniqid('thumb_');
                    
239		$sharedFile = realpath($rootPath) . "/$uniqid";
                    
                
DailymotionDistributionEngine.php https://bitbucket.org/pandaos/kaltura.git | PHP | 278 lines
                    
130		{
                    
131			$videoFilePathNew = $this->tempXmlPath . "/" . uniqid() . ".dme";
                    
132/*			try
                    
                
CsvBulkLoader.php git://github.com/silverstripe/sapphire.git | PHP | 372 lines
                    
160	protected function getNewSplitFileName() {
                    
161		return TEMP_FOLDER . '/' . uniqid('BulkLoader', true) . '.csv';
                    
162	}
                    
                
LC_Page_Shopping_Deliv.php https://git01.codeplex.com/eccubeonwaz | PHP | 224 lines
                    
75
                    
76        $this->tpl_uniqid = $objSiteSess->getUniqId();
                    
77        $objPurchase->verifyChangeCart($this->tpl_uniqid, $objCartSess);
                    
89            $objPurchase->saveShippingTemp($sqlval);
                    
90            $objPurchase->saveOrderTemp($this->tpl_uniqid, $sqlval, $objCustomer);
                    
91            $objSiteSess->setRegistFlag();
                    
116
                    
117            if ($this->registerDeliv($arrForm['deliv_check'], $this->tpl_uniqid,
                    
118                                     $objPurchase, $objCustomer)) {
                    
186     * @param integer $deliv_check ????????
                    
187     * @param string $uniqid ?????????????ID
                    
188     * @param SC_Helper_Purchase $objPurchase SC_Helper_Purchase ??????
                    
191     */
                    
192    function registerDeliv($deliv_check, $uniqid, &$objPurchase, &$objCustomer) {
                    
193        $this->log("register deliv. deliv_check=" . $deliv_check, "Debug");
                    
                
invitation.class.php https://bitbucket.org/chamilo/chamilo/ | PHP | 178 lines
                    
171    {
                    
172        $this->set_code(md5(uniqid()));
                    
173        $this->set_date(time());
                    
                
ucManuallySendForApproval.ascx.cs https://BPA.svn.codeplex.com/svn | C# | 218 lines
                    
149        int requestTypeId = Convert.ToInt32(Server.HtmlEncode(Request.QueryString["RequestType"]));
                    
150        int requestLinkUniqId = Convert.ToInt32(Server.HtmlEncode(Request.QueryString["RequestLinkId"])); 
                    
151        bool status;
                    
164                //status = purchase.InsertReQuestStatus(linkKey, requestTypeId,Convert.ToInt32(lstSelectedUsers.Items[i].Value));
                    
165                int inBoxUniqId = inBoxCreate.CreateInBox(requestTypeId, Convert.ToInt32(lstSelectedUsers.Items[i].Value), linkKey);
                    
166                status = inBoxCreate.UpdateInBoxStatus(inBoxUniqId, userId, 1, "");
                    
167            }
                    
168            status = purchase.UpdateStepStatus(2, 3, requestLinkUniqId);
                    
169        }
                    
                
viewticket.php https://bitbucket.org/getvivekv/fuse.git | PHP | 197 lines
                    
59        {
                    
60            echo '<input type="text" name="' . $item['uniqid'] .  '">  ';
                    
61        }     
                    
                
AddKeywords.php http://google-api-adwords-php.googlecode.com/svn/trunk/ | PHP | 115 lines
                    
58    $keyword = new Keyword();
                    
59    $keyword->text = 'mars cruise ' . uniqid();
                    
60    $keyword->matchType = 'BROAD';
                    
                
YiinfiniteScroller.php https://bitbucket.org/DrMabuse/cms_app.git | PHP | 123 lines
                    
71        Yii::app()->clientScript->registerScript(
                    
72                uniqid(),
                    
73                " var container = $('#content');
                    
                
auth.inc git://pkgs.fedoraproject.org/ser | PHP | 306 lines
                    
29
                    
30  var $magic = "";                ## Used in uniqid() generation
                    
31
                    
                
cnt_plugin_register.php https://bitbucket.org/wayfarer/verse.git | PHP | 117 lines
                    
63
                    
64                    $hash = substr(md5(uniqid(rand())), 0, 16);
                    
65                    $confirm_url = "http://$domain_name/subscribe.php?action=confirm-registration&id=$hash";
                    
                
topics.php http://novaboard.googlecode.com/svn/trunk/ | PHP | 162 lines
                    
139	$token_id				= md5(microtime());
                    
140	$token					= md5(uniqid(rand(), true));
                    
141	$token_name				= 'token_topics_' . $token_id;
                    
                
http_socket_oauth.php git://github.com/mishudark/CakePHP-2.x-Twitter-Plugin.git | PHP | 299 lines
                    
101    if (!isset($request['auth']['oauth_nonce'])) {
                    
102      $request['auth']['oauth_nonce'] = md5(uniqid(rand(), true));
                    
103    }
                    
                
Login.php https://bitbucket.org/randati/compohub | PHP | 147 lines
                    
135	private static function create_salt() {
                    
136		return substr(str_replace('+', '.', base64_encode(sha1(uniqid(microtime(true)), true))), 0, 22);
                    
137	}
                    
                
async_show.php http://xoopscube-modules.googlecode.com/svn/trunk/ | PHP | 84 lines
                    
5	$mydirname = empty( $options[0] ) ? 'd3pipes' : $options[0] ;
                    
6	$unique_id = empty( $options[1] ) ? uniqid( rand() ) : htmlspecialchars( $options[1] , ENT_QUOTES ) ;
                    
7	$pipe_ids = empty( $options[2] ) ? array(0) : explode( ',' , preg_replace( '/[^0-9,:]/' , '' ,  $options[2] ) ) ;
                    
                
dopublish.php http://webpagetest.googlecode.com/svn/trunk/ | PHP | 59 lines
                    
16    $today = new DateTime("now", new DateTimeZone('America/New_York'));
                    
17    $id = $today->format('ymd_') . ShardKey(rand()) . md5(uniqid(rand(), true));
                    
18
                    
                
CreateContentCategory.php http://google-api-dfa-examples.googlecode.com/svn/trunk/ | PHP | 73 lines
                    
59    'id' => 0,
                    
60    'name' => 'Content Category ' . uniqid(),
                    
61    'description' => 'Created from the API.');
                    
                
adodb-session.php http://mcmis.googlecode.com/svn/trunk/ | PHP | 439 lines
                    
121	} else {
                    
122		session_id(md5(uniqid(rand(), true)));
                    
123		$ck = session_get_cookie_params();
                    
                
signature_simulator_form.class.php https://bitbucket.org/chamilo/chamilo-webservice-dev/ | PHP | 72 lines
                    
51        $defaults['security_token'] = $this->user->get_security_token();
                    
52        $defaults['nonce'] = uniqid();
                    
53        $defaults['ip'] = $_SERVER[ChamiloWebserviceAuthentication :: PARAM_REMOTE_ADDRESS];
                    
                
index.js https://bitbucket.org/davbaumgartner/iop.git | JavaScript | 77 lines
                    
30    timer: function(element) {
                    
31        function uniqid(c,e){
                    
32            function d(b,a){b=parseInt(b,10).toString(16);return a<b.length?b.slice(b.length-a):a>b.length?Array(1+(a-b.length)).join("0")+b:b}"undefined"==typeof c&&(c="");var a;this.a||(this.a={});this.a.b||(this.a.b=Math.floor(123456789*Math.random()));this.a.b++;a=c+d(parseInt((new Date).getTime()/1E3,10),8);a+=d(this.a.b,5);e&&(a+=(10*Math.random()).toFixed(8).toString());return a
                    
37        function startTimer() {
                    
38            var _timerid = uniqid();
                    
39            this.timers[_timerid] = {'time':Date().getTime(),'last':false};
                    
                
Util.cs https://hg.codeplex.com/facecomparerdis | C# | 197 lines
                    
175
                    
176        public static string GetOrGenerateUniqID()
                    
177        {
                    
                
move.php http://novaboard.googlecode.com/svn/trunk/ | PHP | 154 lines
                    
95        $token_id = md5(microtime());
                    
96        $token = md5(uniqid(rand(),true));
                    
97
                    
                
comment.php https://bitbucket.org/seezoo/seezoo/ | PHP | 164 lines
                    
128	{
                    
129		$ticket = md5(uniqid(mt_rand(), TRUE));
                    
130		$this->session->set_flashdata($this->ticket_name, $ticket);
                    
                
wsuser.class.php git://github.com/jam1401/PHP-Websockets-Server.git | PHP | 69 lines
                    
20	function WsUser() {
                    
21		$this->id = uniqid();
                    
22	}
                    
                
Mime.php git://github.com/ushahidi/Ushahidi_Web.git | PHP | 500 lines
                    
119    {
                    
120      $boundary = uniqid(rand(), true);
                    
121    } while (in_array($boundary, self::$usedBoundaries));
                    
398      {
                    
399        $id = uniqid();
                    
400      } while (array_key_exists($id, $this->children));
                    
                
subscriptions.php http://novaboard.googlecode.com/svn/trunk/ | PHP | 238 lines
                    
106	$token_id = md5(microtime());
                    
107	$token = md5(uniqid(rand(),true));
                    
108
                    
159	$token_id = md5(microtime());
                    
160	$token = md5(uniqid(rand(),true));
                    
161
                    
                
register.php http://ishudan.googlecode.com/svn/trunk/ | PHP | 66 lines
                    
27// set a token
                    
28$_SESSION['token'] = md5(uniqid(rand( ),true));
                    
29
                    
                
Ezer_XmlIf.php http://ezerphp.googlecode.com/svn/trunk/ | PHP | 114 lines
                    
31	{
                    
32		parent::__construct(uniqid('else_'));
                    
33		Ezer_XmlStepContainerUtil::parse($this, $element);
                    
53	{
                    
54		parent::__construct(uniqid('if_'));
                    
55		Ezer_XmlStepContainerUtil::parse($this, $element);
                    
                
template.php https://bitbucket.org/organicdevelopment/joomla-2.5.git | PHP | 84 lines
                    
8
                    
9	$widget_id      = $widget->id.'-'.uniqid();
                    
10	$settings       = $widget->settings;
                    
                
sx.h git://github.com/CyanogenMod/cm-kernel.git | C Header | 201 lines
                    
54  char hwass;
                    
55  int uniqid;
                    
56  char myear;
                    
                
registrations_controller.php https://bitbucket.org/dvcolgan/bqregsys | PHP | 192 lines
                    
59        if(!empty($this->data)) {
                    
60            $this->data['Registration']['resumption_key'] = substr(md5(uniqid(rand(), true)), 0, 12);
                    
61            if ($this->Registration->saveAll($this->data, array('validate'=>'first'))) {
                    
                
senddocument.php git://pkgs.fedoraproject.org/zarafa | PHP | 61 lines
                    
53//unique id for attachment
                    
54$tmpname = tempnam("/tmp", md5(uniqid(rand(),true)));
                    
55
                    
                
gadget_ajax.php https://bitbucket.org/seezoo/seezoo/ | PHP | 462 lines
                    
281//		{
                    
282//			$hash = md5(uniqid(mt_rand(), TRUE));
                    
283//			$this->session->set_userdata('gmail_hash', $ret);
                    
                
php-xinha.php git://github.com/s9y/Serendipity.git | PHP | 220 lines
                    
45    {
                    
46      $_SESSION[$KeyLocation] = uniqid('Key_');
                    
47    }
                    
                
navigation_header.inc.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 108 lines
                    
86
                    
87    $params = array('uniqid' => uniqid());
                    
88    if (!empty($GLOBALS['db'])) {
                    
                
edit_orm_many_association_script.html.twig https://bitbucket.org/cryofrost/portal.git | Twig Template | 387 lines
                    
245                                'objectId':  sonata_admin.admin.root.id(sonata_admin.admin.root.subject),
                    
246                                'uniqid':    sonata_admin.admin.root.uniqid,
                    
247                                'code':      sonata_admin.admin.root.code
                    
371                    'objectId': 'OBJECT_ID',
                    
372                    'uniqid': associationadmin.uniqid,
                    
373                    'code': associationadmin.code
                    
                
index.php http://phundament.googlecode.com/svn/trunk/modules/p2/ | PHP | 86 lines
                    
41            array(
                    
42            'name' => uniqid('autoComplete'),
                    
43            'searchModel' => 'P2File',
                    
53            array(
                    
54            'name' => uniqid('autoComplete'),
                    
55            'searchModel' => 'P2Page',
                    
64            array(
                    
65            'name' => uniqid('autoComplete'),
                    
66            'searchModel' => 'P2Cell',
                    
                
ELightBoxWidget.php http://phundament.googlecode.com/svn/trunk/modules/p2/ | PHP | 102 lines
                    
54
                    
55	protected $_uniqid;
                    
56
                    
57    public function init() {
                    
58        $this->_uniqid = uniqid("ELightBoxWidget");
                    
59    }
                    
                
notification_example_form.php https://bitbucket.org/Noelfhim/no_ftp | PHP | 153 lines
                    
83            $pluginfilesDir = Ow::getPluginManager()->getPlugin('skeleton')->getPluginFilesDir();
                    
84            $tmpImgPath = $pluginfilesDir . 'notification_' .uniqid() . '.jpg';
                    
85
                    
                
names.ml git://github.com/mzp/coq-ruby.git | OCaml | 344 lines
                    
273
                    
274module Huniqid = Hashcons.Make(
                    
275  struct 
                    
287	(string -> string)
                    
288    let rec hash_sub (hdir,huniqid,hstr as hfuns) = function
                    
289      | MPfile dir -> MPfile (hdir dir)
                    
289      | MPfile dir -> MPfile (hdir dir)
                    
290      | MPbound m -> MPbound (huniqid m)
                    
291      | MPself m -> MPself (huniqid m)
                    
317  let hdir = Hashcons.simple_hcons Hdir.f hident in
                    
318  let huniqid = Hashcons.simple_hcons Huniqid.f (hstring,hdir) in
                    
319  let hmod = Hashcons.simple_hcons Hmod.f (hdir,huniqid,hstring) in
                    
                
eztemplateiffunction.php git://github.com/ezsystems/ezpublish.git | PHP | 260 lines
                    
84        $nodePlacement  = eZTemplateNodeTool::extractFunctionNodePlacement( $node );
                    
85        $uniqid        =  md5( $nodePlacement[2] ) . "_" . $tpl->ElseifCounter;
                    
86        $children       = eZTemplateNodeTool::extractFunctionNodeChildren( $node );
                    
111                                                                                    array( 'text-result' => true ),
                    
112                                                                                    "elseif_cond_$uniqid" );
                    
113                        $newNodes[] = eZTemplateNodeTool::createSpacingDecreaseNode();
                    
113                        $newNodes[] = eZTemplateNodeTool::createSpacingDecreaseNode();
                    
114                        $newNodes[] = eZTemplateNodeTool::createCodePieceNode( "}\nelseif ( \$elseif_cond_$uniqid )\n{" );
                    
115                        $newNodes[] = eZTemplateNodeTool::createSpacingIncreaseNode();
                    
115                        $newNodes[] = eZTemplateNodeTool::createSpacingIncreaseNode();
                    
116                        $nodesToAppend[] = eZTemplateNodeTool::createVariableUnsetNode( "elseif_cond_$uniqid" );
                    
117                        // increment unique elseif counter
                    
117                        // increment unique elseif counter
                    
118                        $uniqid        =  md5( $nodePlacement[2] ) . "_" . ++$tpl->ElseifCounter;
                    
119                    }
                    
                
UserDetails.php http://web3cms.googlecode.com/svn/trunk/ | PHP | 247 lines
                    
235    {
                    
236        return md5(uniqid(rand(),true));
                    
237    }
                    
                
Value.php git://pkgs.fedoraproject.org/php-pear-SOAP | PHP | 287 lines
                    
245
                    
246        $cid = md5(uniqid(time()));
                    
247
                    
                
Profiler.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 316 lines
                    
160        if (null === $this->token) {
                    
161            $this->token = uniqid();
                    
162        }
                    
                
apu_aliases.php git://pkgs.fedoraproject.org/ser | PHP | 309 lines
                    
124			$this->aliases[$k]['domain']   = $v->domain;
                    
125			$this->aliases[$k]['url_dele'] = $sess->url($_SERVER['PHP_SELF']."?kvrk=".uniqID("")."&al_dele_un=".RawURLEncode($v->username)."&al_dele_dom=".RawURLEncode($v->domain));
                    
126			$this->aliases[$k]['url_edit'] = $sess->url($_SERVER['PHP_SELF']."?kvrk=".uniqID("")."&al_edit_un=".RawURLEncode($v->username)."&al_edit_dom=".RawURLEncode($v->domain));
                    
                
confirm.tpl https://git01.codeplex.com/eccubeonwaz | Smarty Template | 289 lines
                    
86            <input type="hidden" name="mode" value="confirm" />
                    
87            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
                    
88            
                    
                
cli.php git://github.com/mageekguy/atoum.git | PHP | 274 lines
                    
160			->and($customField->setTitlePrompt($titlePrompt = new prompt(uniqid())))
                    
161			->and($customField->setTitleColorizer($titleColorizer = new colorizer(uniqid(), uniqid())))
                    
162			->and($customField->setMethodPrompt($methodPrompt = new prompt(uniqid())))
                    
164			->and($customField->setOutputPrompt($outputPrompt = new prompt(uniqid())))
                    
165			->and($customField->setOutputColorizer($outputColorizer = new colorizer(uniqid(), uniqid())))
                    
166			->and($customField->setLocale($locale = new atoum\locale()))
                    
205			->and($customField->setTitlePrompt($titlePrompt = new prompt(uniqid())))
                    
206			->and($customField->setTitleColorizer($titleColorizer = new colorizer(uniqid(), uniqid())))
                    
207			->and($customField->setMethodPrompt($methodPrompt = new prompt(uniqid())))
                    
207			->and($customField->setMethodPrompt($methodPrompt = new prompt(uniqid())))
                    
208			->and($customField->setMethodColorizer($methodColorizer = new colorizer(uniqid(), uniqid())))
                    
209			->and($customField->setOutputPrompt($outputPrompt = new prompt(uniqid())))
                    
209			->and($customField->setOutputPrompt($outputPrompt = new prompt(uniqid())))
                    
210			->and($customField->setOutputColorizer($outputColorizer = new colorizer(uniqid(), uniqid())))
                    
211			->and($customField->setLocale($locale = new atoum\locale()))
                    
                
file_groups.php https://bitbucket.org/seezoo/seezoo/ | PHP | 573 lines
                    
261
                    
262		$dl_token = md5(uniqid(mt_rand(), TRUE));
                    
263		$this->session->set_flashdata('sz_dl_token', $dl_token);
                    
369//		$data['file_name'] = $upload->file_src_name_body;
                    
370//		$data['crypt_name'] = md5(uniqid(mt_rand(), TRUE));
                    
371//		$data['extension'] = $upload->file_src_name_ext;
                    
441	{
                    
442		$ticket = md5(uniqid(mt_rand(), TRUE));
                    
443		$this->session->set_userdata('sz_file_token', $ticket);
                    
                
prepend.inc.php http://scalr.googlecode.com/svn/ | PHP | 420 lines
                    
1<?
                    
2	define("TRANSACTION_ID", uniqid("tran"));
                    
3	define("DEFAULT_LOCALE", "en_US");
                    
                
users_controller.php http://croogo.googlecode.com/svn/trunk/ | PHP | 264 lines
                    
52            $this->User->create();
                    
53            $this->data['User']['activation_key'] = md5(uniqid());
                    
54            if ($this->User->save($this->data)) {
                    
135            $this->data['User']['role_id'] = 2; // Registered
                    
136            $this->data['User']['activation_key'] = md5(uniqid());
                    
137            $this->data['User']['status'] = 0;
                    
168            $this->User->saveField('status', 1);
                    
169            $this->User->saveField('activation_key', md5(uniqid()));
                    
170            $this->Session->setFlash(__('Account activated successfully.', true));
                    
190            $this->User->id = $user['User']['id'];
                    
191            $activationKey = md5(uniqid());
                    
192            $this->User->saveField('activation_key', $activationKey);
                    
230            $user['User']['password'] = Security::hash($this->data['User']['password'], null, true);
                    
231            $user['User']['activation_key'] = md5(uniqid());
                    
232            if ($this->User->save($user['User'])) {
                    
                
user.php http://jqbird.googlecode.com/svn/trunk/ | PHP | 197 lines
                    
106	function add_user($username, $password, $email, $uid = 0, $questionid = '', $answer = '') {
                    
107		$salt = substr(uniqid(rand()), -6);
                    
108		$password = md5(md5($password).$salt);
                    
                
UsersController.php git://github.com/rsmartin/NiceAuth.git | PHP | 204 lines
                    
106        	if ($user = $this->User->findByEmail($this->request->data['User']['email'])) {
                    
107        		$newPass = uniqid(rand());
                    
108        		$user['User']['password'] = $newPass;
                    
                
DataMappingTest.cs http://glue.googlecode.com/svn/trunk/ | C# | 183 lines
                    
45            f = Filter.Create(
                    
46                "Name=@0 AND BirthDate=@1 AND UniqId=@2 AND IsActive=@3 AND Int=@4 AND Float=@5 AND Char=@6", 
                    
47                "'s Gravesande", 
                    
54            f = Filter.And(f, "BirthDate > " + Filter.ToSql(DateTime.Now));
                    
55            f = Filter.Or(f, "UniqId=" + Filter.ToSql(Guid.NewGuid()));
                    
56            Log.Info("Filter: " + f);
                    
                
WebsvcForm.php http://openbiz-cubi.googlecode.com/svn/trunk/ | PHP | 45 lines
                    
33        // generate api key
                    
34        $key = md5(uniqid());
                    
35        return $key;
                    
40        // generate secret
                    
41        $secret = sha1(uniqid());
                    
42        return $secret;
                    
                
add_campaigns.pl http://google-api-adwords-perl.googlecode.com/svn/trunk/ | Perl | 126 lines
                    
37use Cwd qw(abs_path);
                    
38use Data::Uniqid qw(uniqid);
                    
39use POSIX;
                    
49    my $campaign = Google::Ads::AdWords::v201109::Campaign->new({
                    
50      name =>  "Interplanetary Cruise #" . uniqid(),
                    
51      # Bidding strategy (required).
                    
                
error_admin.html.php git://github.com/gallery/gallery3.git | PHP | 307 lines
                    
1<?php defined("SYSPATH") or die("No direct script access.") ?>
                    
2<? $error_id = uniqid("error") ?>
                    
3<? if (!function_exists("t")) { function t($msg) { return $msg; } } ?>
                    
                
ManagerTest.php https://PHPAzure.svn.codeplex.com/svn | PHP | 202 lines
                    
77        $storageClient = $this->createStorageInstance();
                    
78        for ($i = 1; $i <= self::$uniqId; $i++)
                    
79        {
                    
100    
                    
101    protected static $uniqId = 0;
                    
102    
                    
104    {
                    
105        self::$uniqId++;
                    
106        return TESTS_DIAGNOSTICS_CONTAINER_PREFIX . self::$uniqId;
                    
                
ImageTest.php https://bitbucket.org/sebs/mosolar | PHP | 380 lines
                    
128                // Attemp to detect by creating a temporary file
                    
129                $tempFile = tempnam(md5(uniqid(rand(), TRUE)), '');
                    
130                if ($tempFile) {
                    
                
SocketServer.php https://github.com/mockenoff/Mega-Hovertank-Wars.git | PHP | 246 lines
                    
63	private function connect($socket) {
                    
64		$user = new User(uniqid(), $socket);
                    
65		array_push($this->users, $user);
                    
                
PrivateDataTest.php git://github.com/zendframework/zf2.git | PHP | 255 lines
                    
102        $oldTagName = $tags[0];
                    
103        $newTagName = uniqid('tag');
                    
104
                    
118        // add new bundle
                    
119        $newBundleName = uniqid('bundle');
                    
120        $this->_delicious->addBundle($newBundleName, $tags);
                    
158        // test tag adding to tag
                    
159        $newTagName = uniqid('tag');
                    
160        $newPost->addTag($newTagName);
                    
                
method.get_ims.php git://pkgs.fedoraproject.org/ser | PHP | 55 lines
                    
45			$out[$i]['body'] =     $row->body;
                    
46			$out[$i]['url_reply']= $sess->url("send_im.php?kvrk=".uniqid("")."&sip_addr=".rawURLEncode($row->src_addr));
                    
47			$out[$i]['url_dele'] = $sess->url("message_store.php?kvrk=".uniqid("")."&dele_im=".rawURLEncode($row->mid));
                    
                
ARC2_RDFParser.php https://code.google.com/p/s3db/ | PHP | 112 lines
                    
29    $this->skip_dupes = $this->v('skip_dupes', false, $this->a);
                    
30    $this->bnode_prefix = $this->v('bnode_prefix', 'arc'.substr(md5(uniqid(rand())), 0, 4).'b', $this->a);
                    
31    $this->bnode_id = 0;
                    
                
encoding.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 631 lines
                    
588        $this->SimplePostEncoding($query);
                    
589        $this->_boundary = ($boundary === false ? uniqid('st') : $boundary);
                    
590    }
                    
                
register.php git://github.com/gallery/gallery3-contrib.git | PHP | 138 lines
                    
103
                    
104    $password = md5(uniqid(mt_rand(), true));
                    
105    $new_user = identity::create_user($user->name, $user->full_name, $password, $user->email);
                    
119
                    
120    $user->hash =  md5(uniqid(mt_rand(), true));
                    
121    $user->state = 2;
                    
                
OracleEnvironment.java http://mozart.googlecode.com/svn/trunk/ | Java | 106 lines
                    
50
                    
51    private String getUserName(String uniqId){
                    
52        return dbPrefix + uniqId +"_" + System.getProperty("user.name");
                    
59
                    
60	private String getName(String uniqId){
                    
61        return getUserName(uniqId)+"@orcl";
                    
                
cache.php http://novaboard.googlecode.com/svn/trunk/ | PHP | 305 lines
                    
261	$token_id = md5(microtime());
                    
262	$token = md5(uniqid(rand(),true));
                    
263
                    
                
plan.php https://bitbucket.org/onehost/respond.git | PHP | 271 lines
                    
16
                    
17        if(isset($authUser->UserUniqId)){ // check if authorized
                    
18
                    
82
                    
83        if(isset($authUser->UserUniqId)){ // check if authorized
                    
84
                    
136
                    
137        if(isset($authUser->UserUniqId)){ // check if authorized
                    
138        
                    
214
                    
215        if(isset($authUser->UserUniqId)){ // check if authorized
                    
216        
                    
                
wp-register.php http://core.svn.wordpress.org/ | PHP | 159 lines
                    
41	if ( 0 == count($errors) ) {
                    
42		$password = substr( md5( uniqid( microtime() ) ), 0, 7);
                    
43
                    
                
DijitElement.php http://firephp.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
176        if ($view->dojo()->hasDijit($id)) {
                    
177            trigger_error(sprintf('Duplicate dijit ID detected for id "%s; temporarily generating uniqid"', $id), E_USER_NOTICE);
                    
178            $base = $id;
                    
179            do {
                    
180                $id = $base . '-' . uniqid();
                    
181            } while ($view->dojo()->hasDijit($id));
                    
                
PHPWebdriverTest.php http://php-webdriver-bindings.googlecode.com/svn/trunk/ | PHP | 282 lines
                    
175        $this->webdriver->get(TEST_URL);
                    
176        $tmp_filename = "screenshot".uniqid().".png";
                    
177        //unlink($tmp_filename);
                    
                
Listener.php git://github.com/s9y/Serendipity.git | PHP | 96 lines
                    
61    {
                    
62        $this->_id = md5(uniqid('http_request_', 1));
                    
63    }
                    
                
tohtml.inc.php http://mcmis.googlecode.com/svn/trunk/ | PHP | 195 lines
                    
109				$mtime = substr(str_replace(' ','_',microtime()),2);
                    
110				$tmpname = "tmp/".uniqid($mtime).getmypid();
                    
111				$fd = @fopen($tmpname,'a');
                    
                
CarParkExample.cs https://RiaServicesContrib.svn.codeplex.com/svn | C# | 317 lines
                    
129
                    
130    public class UniqIds : ValidationRule
                    
131    {
                    
131    {
                    
132        public UniqIds()
                    
133            : base(
                    
229        [TestMethod]
                    
230        public void UniqIdsTest()
                    
231        {
                    
237            };
                    
238            MEFValidationRules.RegisterType(typeof(UniqIds));
                    
239            var gr = carPark.EntityGraph(CarPark.Shape);
                    
248
                    
249            MEFValidationRules.UnregisterType(typeof(UniqIds));
                    
250        }
                    
                
extractor.php git://github.com/mageekguy/atoum.git | PHP | 313 lines
                    
56					->variable($maxChildrenNumber)->isNull()
                    
57				->object($extractor->extract(uniqid()))->isIdenticalTo($extractor)
                    
58					->variable($ignore)->isNull()
                    
251				->array($extractor->getHandlers())->isEmpty()
                    
252			->if($extractor->setHandler(uniqid(), function() {}))
                    
253			->then
                    
263			->then
                    
264				->object($extractor->unsetHandler(uniqid()))->isIdenticalTo($extractor)
                    
265				->array($extractor->getHandlers())->isEmpty()
                    
265				->array($extractor->getHandlers())->isEmpty()
                    
266			->if($extractor->setHandler($annotation = uniqid(), function() {}))
                    
267			->then
                    
294			->array(annotations\extractor::toArray($value = uniqid()))->isEqualTo(array($value))
                    
295			->array(annotations\extractor::toArray(($value = uniqid()) . ' ' . ($otherValue = uniqid())))->isEqualTo(array($value, $otherValue))
                    
296		;
                    
                
Chooser.php https://bitbucket.org/mkrasuski/magento-ce.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
                    
                
SessionHandlerTest.php https://PHPAzure.svn.codeplex.com/svn | PHP | 277 lines
                    
87        $storageClient = $this->createStorageInstance();
                    
88        for ($i = 1; $i <= self::$uniqId; $i++)
                    
89        {
                    
118    
                    
119    protected static $uniqId = 0;
                    
120    
                    
122    {
                    
123        self::$uniqId++;
                    
124        return TESTS_SESSIONHANDLER_TABLENAME_PREFIX . self::$uniqId;
                    
268    {
                    
269        return md5(self::$uniqId);
                    
270    }
                    
                
DynamicTableEntityTest.php https://PHPAzure.svn.codeplex.com/svn | PHP | 181 lines
                    
58        $storageClient = $this->createStorageInstance();
                    
59        for ($i = 1; $i <= self::$uniqId; $i++)
                    
60        {
                    
80    
                    
81    protected static $uniqId = 0;
                    
82    
                    
84    {
                    
85        self::$uniqId++;
                    
86        return TESTS_TABLE_TABLENAME_PREFIX . self::$uniqId;
                    
                
process.php http://fb2pdf.googlecode.com/svn/trunk/ | PHP | 448 lines
                    
201        // genarate unique book key
                    
202        $this->bookKey = md5(uniqid(""));
                    
203        
                    
435    {
                    
436        return tempnam(md5(uniqid(rand(), TRUE)), '');
                    
437    }
                    
                
FFmpegAnimatedGifTest.php git://github.com/char0n/ffmpeg-php.git | PHP | 101 lines
                    
28    public static function setUpBeforeClass() {
                    
29        self::$outFilePath = sys_get_temp_dir().DIRECTORY_SEPARATOR.uniqid('anim', true).'.gif';        
                    
30        self::$moviePath   = dirname(__FILE__).DIRECTORY_SEPARATOR.'data'.DIRECTORY_SEPARATOR.'test.mp4';
                    
                
ffmpeg_animated_gif.php http://phpvideotoolkit.googlecode.com/svn/trunk/ | PHP | 243 lines
                    
125				{
                    
126					$file = $tmp_directory.'fag-'.uniqid(time().'-').'.gif';
                    
127					if(!imagegif($frame->toGDImage(), $file))
                    
                
template-ldif2db.pl.in git://pkgs.fedoraproject.org/389-ds-base | Autoconf | 242 lines
                    
92$mergechunksiz = 0;
                    
93$genuniqid = "time";
                    
94$uniqidname = "";
                    
143			if ("$ARGV[$i]" eq "none") {
                    
144				$genuniqid = $ARGV[$i];
                    
145			} elsif ("$ARGV[$i]" eq "deterministic") {
                    
145			} elsif ("$ARGV[$i]" eq "deterministic") {
                    
146				$genuniqid = $ARGV[$i];
                    
147			}
                    
212$nsmergechunksiz = "nsImportChunkSize: ${mergechunksiz}\n"; 
                    
213$nsgenuniqid = "nsUniqueIdGenerator: ${genuniqid}\n"; 
                    
214$nsuniqidname = "";
                    
214$nsuniqidname = "";
                    
215if ($uniqidname ne "") { $nsuniqidname = "nsUniqueIdGeneratorNamespace: ${uniqidname}\n"; }
                    
216$entry = "${dn}${misc}${cn}${nsinstance}${nsincluded}${nsexcluded}${nsldiffiles}${nsnoattrindexes}${nsimportencrypt}${nsmergechunksiz}${nsgenuniqid}${nsuniqidname}";
                    
                
 

Source

Language