Re: [Care2002-developers] $key issue

2010-09-20 Thread Robert Meggle
Hi Muthu, Great! Robert Am Sonntag, den 19.09.2010, 15:24 +0530 schrieb Ap.Muthu: Hi GJ, File: installer/versions.php : Line 10: $rmax=getrandmax(); Gives $rand a random number between 0 and 2147483647 on 32 bit installs - that is 10 digits max. Lines 32 to 34 place a computed default

Re: [Care2002-developers] $key issue

2010-09-19 Thread Ap.Muthu
Hi GJ, Can the $key* variables be hexadecimal numbers? Regards, Ap.Muthu Hi Muthu, it should be 32 bits, but for php it depends heavily on the platform, you should chekc *PHP_INT_SIZE* for that. can you please contact robert to set up the demo ? he is currently maintaining the

Re: [Care2002-developers] $key issue

2010-09-19 Thread Gjergj Sheldija - AcmeTECH
hi Muthu, it could, but since it might be used wrongly in some piece of code, without quotes, we might have errors. so better continue using an int val gj. On 2010-09-19 11:11.PD, Ap.Muthu wrote: Hi GJ, Can the $key* variables be hexadecimal numbers? Regards, Ap.Muthu Hi Muthu, it

Re: [Care2002-developers] $key issue

2010-09-19 Thread Ap.Muthu
Hi GJ, File: installer/versions.php : Line 10: $rmax=getrandmax(); Gives $rand a random number between 0 and 2147483647 on 32 bit installs - that is 10 digits max. Lines 32 to 34 place a computed default value using: ( rand(1,$rmax) . rand(1,$rmax) ) * rand(1,$rmax) At a maximum, a 10 digit