I would like to write that code in delphi , i have tried to do it but no luck
$uid = $i=0; while($i<12){ $i++;}
$uid += floor(rand() * 10);
which it generate a random integer like this 106128013013
how it can be done in delphi ??
i took php code from here
// edit
this code generate only 8 digits and only last number changes
while i < 12 do
begin
inc(i);
end;
uid := uid + floor(random * 10);
i need this number for uploading files to xfilesharing pro script like the code in the php
i found javascript code in the script it self
var UID='';
for(var i=0;i<12;i++)UID+=''+Math.floor(Math.random() * 10);