- Timestamp:
- 04/22/10 17:12:12 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/jabberit_messenger/trophy_expresso/inc/class.CommonFunctions.inc.php
r2607 r2620 15 15 { 16 16 return "YWxleG5K87W".base64_encode($this->userJabber); 17 //return $this->gerador().base64_encode($this->userJabber); 17 18 } 18 19 … … 20 21 { 21 22 return "TWxGeG55K7W".base64_encode($this->password); 23 //return $this->gerador().base64_encode($this->password); 22 24 } 23 25 26 private function gerador() 27 { 28 $char = "ABCDEFGHIJKLMNOPQRSTUVWXTZ0123456789abcdefghiklmnopqrstuvwxyz"; 29 $key = ""; 30 31 for( $i = 0 ; $i < 61; $i++ ) 32 { 33 $key .= substr($char, $i, mt_rand(1,61)); 34 } 35 36 $key = strlen($key).$key; 37 38 return $key; 39 } 40 24 41 } 25 26 42 ?>
Note: See TracChangeset
for help on using the changeset viewer.