PageRenderTime 223ms queryTime 19ms sortTime 1ms getByIdsTime 30ms findMatchingLines 103ms

100+ results results for 'uniqid' (223 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")}',
                    
                
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);
                    
                
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()),
                    
                
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        }
                    
                
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  }
                    
                
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());
                    
                
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];
                    
                
move.php http://novaboard.googlecode.com/svn/trunk/ | PHP | 154 lines
                    
95        $token_id = md5(microtime());
                    
96        $token = md5(uniqid(rand(),true));
                    
97
                    
                
wsuser.class.php git://github.com/jam1401/PHP-Websockets-Server.git | PHP | 69 lines
                    
20	function WsUser() {
                    
21		$this->id = uniqid();
                    
22	}
                    
                
ping.php https://bitbucket.org/seezoo/seezoo/ | PHP | 180 lines
                    
159	{
                    
160		$ticket = md5(uniqid(mt_rand(), TRUE));
                    
161		$this->session->set_flashdata($this->ticket_name, $ticket);
                    
                
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;
                    
                
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'])) {
                    
                
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
                    
                
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));
                    
                
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;
                    
                
AbstractDbaTest.php git://github.com/zendframework/zf2.git | PHP | 65 lines
                    
41
                    
42        $this->temporaryDbaFile = sys_get_temp_dir() . DIRECTORY_SEPARATOR . uniqid('zfcache_dba_') . '.' . $this->handler;
                    
43        $this->_options = new Cache\Storage\Adapter\DbaOptions(array(
                    
                
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;
                    
                
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;
                    
                
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);
                    
                
FileCipherTest.php git://github.com/zendframework/zf2.git | PHP | 265 lines
                    
209    {
                    
210        $randomFile = uniqid('Invalid_File');
                    
211        $this->setExpectedException('Zend\Crypt\Exception\InvalidArgumentException',
                    
218    {
                    
219        $randomFile = uniqid('Invalid_File');
                    
220        $this->setExpectedException('Zend\Crypt\Exception\InvalidArgumentException',
                    
256    {
                    
257        $fileName = sys_get_temp_dir() . '/' . uniqid('ZF2_FileCipher_test');
                    
258        $num = $size / strlen($content) + 1;
                    
                
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');
                    
                
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))
                    
                
Service.php http://records-authority.googlecode.com/svn/ | PHP | 884 lines
                    
39 * 		$document = new Apache_Solr_Document();
                    
40 * 		$document->id = uniqid(); //or something else suitably unique
                    
41 *
                    
                
retentionschedulemodel.php http://records-authority.googlecode.com/svn/ | PHP | 1002 lines
                    
202		// create uuid
                    
203		$uuid = uniqid(); 
                    
204		return $uuid;
                    
                
savefiles.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 574 lines
                    
96            //rename the file  
                    
97            $_FILES['my-pic']['name'] = uniqid('', true).$_FILES['my-pic']['name'];
                    
98            //ales default upload
                    
                
png_test.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 655 lines
                    
13global $license_number;
                    
14$license_number = uniqid();
                    
15
                    
                
echo_images.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 740 lines
                    
13global $license_number, $purchase_id;
                    
14$license_number = uniqid();
                    
15
                    
                
display-items.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 1514 lines
                    
136            //rename the file  
                    
137            $_FILES['file']['name'] = uniqid('', true).$_FILES['file']['name'];
                    
138            //ales default upload
                    
                
edit.php http://you.googlecode.com/svn/trunk/ | PHP | 552 lines
                    
192	{
                    
193	$imagerefresh = '?refresh='.uniqid('');
                    
194	foreach($_POST['rotatefile'] as $rotatethis => $direction)
                    
                
ARC2_RDFExtractor.php https://code.google.com/p/goodrelations-for-joomla/ | PHP | 250 lines
                    
26    $this->index = $this->caller->getNodeIndex();
                    
27    $this->bnode_prefix = $this->v('bnode_prefix', 'arc' . substr(md5(uniqid(rand())), 0, 4) . 'b', $this->a);
                    
28    $this->bnode_id = 0;
                    
                
call.php git://github.com/mageekguy/atoum.git | PHP | 115 lines
                    
23
                    
24		$call = new php\call($function = uniqid(), $arguments = array($arg = uniqid()));
                    
25
                    
31
                    
32		$call = new php\call($function = uniqid(), $arguments = array($arg = uniqid()), $object = $this);
                    
33
                    
42	{
                    
43		$call = new php\call(uniqid());
                    
44
                    
45		$this->assert
                    
46			->object($call->setFunction($function = uniqid()))->isIdenticalTo($call)
                    
47			->string($call->getFunction())->isEqualTo($function)
                    
54	{
                    
55		$call = new php\call(uniqid());
                    
56
                    
                
eztemplateincludefunction.php git://github.com/ezsystems/ezpublish.git | PHP | 221 lines
                    
99        $variableList = array();
                    
100        $uniqID = md5( uniqid('inc') );
                    
101        $newNodes[] = eZTemplateNodeTool::createCodePieceNode( "\$oldRestoreIncludeArray" . "_$uniqID = isset( \$restoreIncludeArray ) ? \$restoreIncludeArray : array();\n".
                    
129                                                               "}\n".
                    
130                                                               "\$restoreIncludeArray = \$oldRestoreIncludeArray" . "_$uniqID;\n" );
                    
131
                    
                
Ezer_XmlSequenceInstance.php http://ezerphp.googlecode.com/svn/trunk/ | PHP | 55 lines
                    
31	{
                    
32		$id = uniqid('i_');
                    
33		parent::__construct($id, $scope_instance, $sequence);
                    
                
ConversionTrackerServiceTest.php http://google-api-adwords-php.googlecode.com/svn/trunk/ | PHP | 0 lines
                    
73    $conversionTracker = new AdWordsConversionTracker();
                    
74    $conversionTracker->name = 'Interplanetary Cruise Conversion #' . uniqid();
                    
75    $conversionTracker->category = 'DEFAULT';
                    
102    $conversionTracker->id = $this->conversionTrackerId;
                    
103    $conversionTracker->name = 'New Name ' . uniqid();
                    
104
                    
                
ajax.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 700 lines
                    
38	while ($file === false OR file_exists(_PS_MODULE_DIR_.$file))
                    
39		$file = uniqid();
                    
40	$file = _PS_MODULE_DIR_.$file.'.zip';
                    
                
Html.php http://kumbia-enterprise.googlecode.com/svn/trunk/ | PHP | 681 lines
                    
193		if($this->_implicitFlush==true){
                    
194			$this->_tempFileName = 'public/temp/'.uniqid();
                    
195			$this->_tempFile = fopen($this->_tempFileName, 'w');
                    
                
ItemEditController.php http://geocontexter.googlecode.com/svn/trunk/ | PHP | 1031 lines
                    
368            {
                    
369                $params['data']['files_folder'] = $data_folder_name = md5(uniqid($this->view->item_result['id_item'], true));
                    
370            }
                    
442            {
                    
443                $params['data']['files_folder'] = $data_folder_name = md5(uniqid($this->view->item_result['id_item'], true));
                    
444            }
                    
                
UploadFile.class.php http://thinkphp.googlecode.com/svn/trunk/ | PHP | 629 lines
                    
71    // ????????
                    
72    // ????? time uniqid com_create_guid ?
                    
73    // ??????????????? ?????????
                    
                
driver.php git://github.com/UCF/fuelphp-crash-course.git | PHP | 676 lines
                    
400		}
                    
401		return md5(uniqid($session_id, TRUE));
                    
402	}
                    
                
net.php git://github.com/bcosca/fatfree.git | PHP | 159 lines
                    
45			// Send ICMP header and payload
                    
46			$data=uniqid();
                    
47			$payload=self::hexbin('0800000000000000').$data;
                    
                
cli.php git://github.com/mageekguy/atoum.git | PHP | 133 lines
                    
81			->and($score = new \mock\mageekguy\atoum\runner\score())
                    
82			->and($score->getMockController()->getPhpPath = $phpPath = uniqid())
                    
83			->then
                    
95			->if($score = new \mock\mageekguy\atoum\runner\score())
                    
96			->and($score->getMockController()->getPhpPath = $phpPath = uniqid())
                    
97			->and($defaultField = new runner\php\path\cli())
                    
106			->and($customField->setPrompt($prompt = new prompt(uniqid())))
                    
107			->and($customField->setTitleColorizer($titleColorizer = new colorizer(uniqid(), uniqid())))
                    
108			->and($customField->setPathColorizer($pathColorizer = new colorizer(uniqid(), uniqid())))
                    
                
CreateImageAsset.php http://google-api-dfa-examples.googlecode.com/svn/trunk/ | PHP | 80 lines
                    
62$creativeAsset = array(
                    
63    'name' => 'Asset ' . uniqid(),
                    
64    'advertiserId' => $advertiserId,
                    
                
post.inc git://pkgs.fedoraproject.org/mrbs | PHP | 154 lines
                    
91  // We will generate a uid of the form "MRBS-uniqid-MD5hash@domain_name" 
                    
92  // where uniqid is time based and is generated by uniqid() and the
                    
93  // MD5hash is the first 8 characters of the MD5 hash of $str concatenated
                    
                
topics.php http://malleo-cms.googlecode.com/svn/trunk/ | PHP | 278 lines
                    
93			if (!session_id()) @session_start();
                    
94			$jeton = md5(uniqid(rand(), TRUE));
                    
95			$_SESSION['jeton'] = $jeton;
                    
                
installer_lib.php git://github.com/pyrocms/pyrocms.git | PHP | 426 lines
                    
223		// User settings
                    
224		$user_salt		= substr(md5(uniqid(rand(), true)), 0, 5);
                    
225		$data['user_password'] 	= sha1($data['user_password'] . $user_salt);
                    
                
doctohtml.php http://xvweb.googlecode.com/svn/trunk/ | PHP | 91 lines
                    
51$data = $result->RetrieveDocumentResult;
                    
52	$UniqID  = uniqid();
                    
53	file_put_contents(Cache_dir.'dth_'.$UniqID.'.tmp', base64_decode($data));
                    
53	file_put_contents(Cache_dir.'dth_'.$UniqID.'.tmp', base64_decode($data));
                    
54	header('Location: ?converted='.$UniqID.'&File='.urlencode(pathinfo($_FILES['doctohtml']['name'], PATHINFO_FILENAME)));
                    
55
                    
64foreach($XPathSimple['img'] as $element){
                    
65	$FileID = uniqid();
                    
66	$FileLoc = $RootDir.'tmp/'.$FileID.'.png';
                    
                
mail.php http://rapidleech36b.googlecode.com/svn/trunk/ | PHP | 133 lines
                    
33	$subj = "=?UTF-8?Q?" . $subzh . '?=';
                    
34	$un = strtoupper(uniqid(time()));
                    
35	$head = "From: " . $from . "\n" . "X-Mailer: PHP RapidLeech 36B\n" . "Reply-To: " . $from . "\n" . "Mime-Version: 1.0\n" . "Content-Type: multipart/mixed; boundary=\"----------" . $un . "\"\n\n";
                    
                
generator.php git://github.com/mageekguy/atoum.git | PHP | 370 lines
                    
30			->if($adapter = new atoum\test\adapter())
                    
31			->and($adapter->php_sapi_name = function() { return uniqid(); })
                    
32			->then
                    
33				->exception(function() use (& $name, $adapter) {
                    
34						$generator = new phar\generator($name = uniqid(), $adapter);
                    
35					}
                    
39			->if($adapter->php_sapi_name = function() { return 'cli'; })
                    
40			->and($generator = new phar\generator($name = uniqid(), $adapter))
                    
41			->then
                    
58			->and($adapter->realpath = function($path) { return $path; })
                    
59			->and($generator = new phar\generator(uniqid(), $adapter))
                    
60			->then
                    
69				->exception(function() use ($generator, & $directory) {
                    
70						$generator->setOriginDirectory($directory = uniqid());
                    
71					}
                    
                
dfs_test.php git://github.com/ezsystems/ezpublish.git | PHP | 211 lines
                    
91        {
                    
92            $file = 'testDeleteSingleFile' . uniqid();
                    
93            $this->createDFSFile( $file );
                    
154        $file = 'testGetContents';
                    
155        $contents = md5( uniqid() );
                    
156        $this->createDFSFile( $file, $contents );
                    
167        {
                    
168            $contents .= md5( uniqid() );
                    
169        }
                    
182        $filePath = 'var/testCreateFileOnDFS';
                    
183        $contents = md5( uniqid() );
                    
184
                    
                
edit_member.php https://bitbucket.org/seezoo/seezoo/ | PHP | 232 lines
                    
210	{
                    
211		$ticket = md5(uniqid(mt_rand(), TRUE));
                    
212		$this->session->set_flashdata('sz_ticket', $ticket);
                    
                
Input.php git://github.com/tcm-project/tangocms.git | PHP | 331 lines
                    
98			do {
                    
99				$token = zula_hash( uniqid( session_id(), true ) );
                    
100			} while( isset( $_SESSION['csrf-tokens'][ $token ] ) );
                    
                
CreatePlacement.php http://google-api-dfa-examples.googlecode.com/svn/trunk/ | PHP | 119 lines
                    
69    'id' => 0,
                    
70    'name' => 'Placement ' . uniqid(),
                    
71    'campaignId' => $campaignId,
                    
                
genaral_file_class.php https://bitbucket.org/itoxable/chiron-gaming.git | PHP | 196 lines
                    
40					$Filecs = preg_replace("/[^-\._a-zA-Z0-9]/", "", $Filecs);
                    
41					$uniq = uniqid("");
                    
42					$filec1 = $uniq."_".$Filecs;
                    
                
authrequest.php https://git01.codeplex.com/semantria | PHP | 223 lines
                    
39	{
                    
40		$nonce = uniqid('');
                    
41		$timestamp = time();
                    
                
SongTable.class.php http://streeme.googlecode.com/svn/trunk/ | PHP | 490 lines
                    
44      $song = new Song();
                    
45      $song->unique_id = sha1( uniqid( '', true ) . mt_rand( 1, 99999999 ) );
                    
46      $song->artist_id = (int) $artist_id;
                    
                
class.validator.php https://code.google.com/p/bf2stats/ | PHP | 1382 lines
                    
178			{
                    
179				return $this->is_sane_dir($path.uniqid(mt_rand()).'.tmp');
                    
180			}
                    
                
admin.process.php https://code.google.com/p/bf2stats/ | PHP | 1398 lines
                    
137	// Define Test Snapshot String (PID: 111)
                    
138	$tst_prefix = 'TST'.uniqid(rand());
                    
139	$tst_snapshot = $tst_prefix.'\test_map\queryport\29900\mapstart\1157264950.7\mapend\1157266995.57\win\1\gm\0\m\999\v\bf2\pc\1\rwa\2\ra1\0\rs1\25\ra2\2\rs2\0\pID_0\999\name_0\Test Player\t_0\2\a_0\0\ctime_0\1559\c_0\1\ip_0\0\rs_0\24\cs_0\0\ss_0\18\ts_0\6\kills_0\9\deaths_0\17\cpc_0\0\cpn_0\1\cpa_0\0\cpna_0\0\cpd_0\0\ka_0\0\he_0\0\rev_0\0\rsp_0\0\rep_0\0\tre_0\0\drs_0\0\dra_0\4\pa_0\0\tmkl_0\0\tmdg_0\0\tmvd_0\0\su_0\0\ks_0\6\ds_0\6\rank_0\3\ban_0\0\kck_0\0\tco_0\0\tsl_0\1559\tsm_0\0\tlw_0\0\ta0_0\1559\ta1_0\0\ta2_0\0\ta3_0\0\ta4_0\0\ta5_0\0\ta6_0\0\ta7_0\0\ta8_0\0\ta9_0\0\mvns_0\29000037\mvks_0\1\mvns_0\29000113\mvks_0\1\mvns_0\29000069\mvks_0\1\mvns_0\29000081\mvks_0\2\mvns_0\29000108\mvks_0\1\mvns_0\29000080\mvks_0\1\mvns_0\29000089\mvks_0\1\mvns_0\29000041\mvks_0\1\tv0_0\278\tv1_0\0\tv2_0\0\tv3_0\532\tv4_0\227\tv5_0\0\tv6_0\0\tvp_0\17\kv0_0\5\kv1_0\0\kv2_0\0\kv3_0\0\kv4_0\0\kv5_0\0\kv6_0\0\bv0_0\3\bv1_0\0\bv2_0\0\bv3_0\0\bv4_0\0\bv5_0\0\bv6_0\0\kvr0_0\1\kvr1_0\0\kvr2_0\0\kvr3_0\0\kvr4_0\0\kvr5_0\0\kvr6_0\0\tk0_0\736\tk1_0\20\tk2_0\311\tk3_0\0\tk4_0\320\tk5_0\84\tk6_0\29\kk0_0\8\kk1_0\0\kk2_0\0\kk3_0\0\kk4_0\1\kk5_0\0\kk6_0\0\dk0_0\10\dk1_0\1\dk2_0\2\dk3_0\0\dk4_0\2\dk5_0\1\dk6_0\1\tw0_0\11\tw1_0\0\tw2_0\49\tw3_0\28\tw4_0\10\tw5_0\5\tw6_0\54\tw7_0\382\tw8_0\47\te0_0\2\te1_0\0\te3_0\48\te2_0\0\te4_0\0\te5_0\0\te6_0\0\te7_0\0\te8_0\0\kw0_0\0\kw1_0\0\kw2_0\0\kw3_0\0\kw4_0\0\kw5_0\1\kw6_0\0\kw7_0\1\kw8_0\0\ke0_0\1\ke1_0\0\ke3_0\0\ke2_0\0\ke4_0\0\ke5_0\0\bw0_0\1\bw1_0\0\bw2_0\2\bw3_0\1\bw4_0\0\bw5_0\0\bw6_0\3\bw7_0\5\bw8_0\1\be0_0\0\be1_0\0\be3_0\1\be2_0\0\be4_0\0\be5_0\0\be8_0\0\be9_0\0\de6_0\0\de7_0\0\de8_0\0\sw0_0\0\sw1_0\0\sw2_0\26\sw3_0\0\sw4_0\0\sw5_0\15\sw6_0\4\sw7_0\53\sw8_0\0\se0_0\2\se1_0\0\se2_0\0\se3_0\6\se4_0\0\se5_0\0\hw0_0\0\hw1_0\0\hw2_0\3\hw3_0\0\hw4_0\0\hw5_0\5\hw6_0\1\hw7_0\8\hw8_0\0\he0_0\1\he1_0\0\he2_0\0\he3_0\3\he4_0\0\he5_0\0\EOF\1';
                    
                
basic.class.php http://jfusion.googlecode.com/svn/trunk/ | PHP | 463 lines
                    
83        //prepare a salt
                    
84        if (empty($salt)) $salt = md5(uniqid(rand(), true));
                    
85        switch (strtolower($method)) {
                    
                
float.php git://github.com/mageekguy/atoum.git | PHP | 236 lines
                    
50			->if(
                    
51				$this->calling($locale)->_ = $notFloat = uniqid(),
                    
52				$this->calling($analyzer)->getTypeOf = $badType = uniqid()
                    
54			->then
                    
55				->exception(function() use ($asserter, & $value) { $asserter->setWith($value = uniqid()); })
                    
56					->isInstanceOf('mageekguy\atoum\asserter\exception')
                    
93			->if(
                    
94				$this->calling($locale)->_ = $notZero = uniqid(),
                    
95				$this->calling($analyzer)->getTypeOf = $type = uniqid(),
                    
95				$this->calling($analyzer)->getTypeOf = $type = uniqid(),
                    
96				$this->calling($diff)->__toString = $diffValue = uniqid(),
                    
97				$asserter->setWith($value = (float) rand(1, PHP_INT_MAX))
                    
117
                    
118				->exception(function() use ($asserter, & $failMessage) { $asserter->isZero($failMessage = uniqid()); })
                    
119					->isInstanceOf('mageekguy\atoum\asserter\exception')
                    
                
 

Source

Language