Eyes Random String Generator
View Single Post
06-11-2008, 11:09 AM
Join Date: Oct 2007
Location: Manchester, UK
Sketch, thanks for the note about the off-by-one error on $len however you introduce one yourself by changing the final for loop to use intval($passLen-1) (the resulting random string will always be one character less than $passLen).
Its not an undefined offset, but yes thanks for noticing that, i didn't mean to post the code with that line in, i must have left it in when i was messing with the code earlier no idea why mind but there you go.
note to self
: learn how to use copy and paste properly
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
View Public Profile
Send a private message to sketchMedia
Visit sketchMedia's homepage!
Find More Posts by sketchMedia