Thanks for that Craig,

I'm really looking for a configuration setting or something, that code's
from SilverStripe and as I put together a lot of SilverStripe sites, I don't
want to be hacking the security section on all of them.  It did give me an
idea on what's happening though.

I've made a simpler example of how to replicate:

$str = str_repeat('1', 40);
echo $str . '<br />';
$str = base_convert($str, 16, 36);
echo $str . "<br />";
$str = base_convert($str, 36, 16);
echo $str . '<br />';

on all but lenny produces:

1111111111111111111111111111111111111111
1zrobwfazqu8okco4sw8g0cgwggs8k8
1111111111111200000000000000000000000000

on lenny:

1111111111111111111111111111111111111111
1zrobwfazqvs5cw0wwc8os44o0044c8
1111111111111100000000000000000000000000

I assume that due to Lenny being a newer OS, and 64 bit, that it's
generating a more precise result(?), so I just need to be able to make it
not be so precise or something,

Stu

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to