Subversion Repositories SmartDukaan

Rev

Rev 11272 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11272 Rev 15836
Line 110... Line 110...
110
		// Do we have a "word" yet?
110
		// Do we have a "word" yet?
111
		// -----------------------------------
111
		// -----------------------------------
112
 
112
 
113
	   if ($word == '')
113
	   if ($word == '')
114
	   {
114
	   {
115
			$pool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
115
			// $pool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
-
 
116
	   		$pool = '23456789';
116
 
117
 
117
			$str = '';
118
			$str = '';
118
			for ($i = 0; $i < $word_length; $i++)
119
			for ($i = 0; $i < $word_length; $i++)
119
			{
120
			{
120
				$str .= substr($pool, mt_rand(0, strlen($pool) -1), 1);
121
				$str .= substr($pool, mt_rand(0, strlen($pool) -1), 1);