Dear Friends, I have the following code in mine prog to generate random text. $password = md5(uniqid(rand(1000000000,9999999999))).time(); But when i execute the code on mine server following errors appear, Warning: rand(): Invalid range: 1000000000..-1 in <filename> The same works well on mine local PC. Pl. tell me what configuration must i change to correct this problem. -- Thanks and kind regards, Abhishek jain __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/