sanweikui 0 Report post Posted October 1, 2004 what's your meaning? Share this post Link to post Share on other sites
Magic-Node 0 Report post Posted October 1, 2004 If you mean how to get a random password, this is one way to do it: function RandomPass( $passLength ) [br]{ [/br] $PassChars = 'ABVDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; [br] $Vouel = 'aeiou'; [/br] $Pass = ""; [br] [/br] for ($index = 1; $index <= $passLength; $index++) [br] { [/br] if ($index % 3 == 0) [br] { [/br] $randomNumber = rand(1,strlen($Vouel)); [br] $Pass .= substr($Vouel,$randomNumber-1,1); [/br] }else [br] { [/br] $randomNumber = rand(1,strlen($PassChars)); [br] $Pass .= substr($PassChars,$randomNumber-1,1); [/br] } [br] } [/br] return $Pass; } [br] [/br]$regpass = RandomPass(6); Share this post Link to post Share on other sites
CodeTeam 0 Report post Posted October 2, 2004 If you need a full membership system try this link :http://forums.xisto.com/no_longer_exists/ Share this post Link to post Share on other sites
mobileunlocking 0 Report post Posted October 2, 2004 thx for that iv been looking for somthing like that.Thx mateMick Share this post Link to post Share on other sites
CosmicT 0 Report post Posted October 7, 2004 try this:<?phpfunction createPassword($length) { return substr(md5(uniqid(rand(), true)), 0, $length);}?> Share this post Link to post Share on other sites
DSTools 0 Report post Posted October 7, 2004 CosmicT, that code doesn't support passwords over 32 characters long. Share this post Link to post Share on other sites
aloKNsh 0 Report post Posted February 8, 2009 hey u can also try out in google.........if not then ask in programming forum...........ol d best Share this post Link to post Share on other sites
networker 0 Report post Posted February 15, 2009 Right off, how I'd probably do it is I'd encode the password.Php Base64_encoding is widely used. You could just tryencoding the value several times once it's been posted.Just keep track of that in your script of course.There has to be more obscure encodings than base_64 though.You could try making up your own if anything. Share this post Link to post Share on other sites
Ash-Bash 0 Report post Posted February 15, 2009 Maybe sign up to trap 17 and not post one worders for a start! . Share this post Link to post Share on other sites