I am working on something which unfortunately does not have anything in CF, so there are few things which i am trying to do to convert but some functions which i am not sure what is the equivalent of those in Coldfusion, any guidance will be helpful
$nonce = explode(' ', microtime());
$request['nonce'] = $nonce[1] . str_pad(substr($nonce[0], 2, 6), 6, '0');
for the above, to me it seems just a timestamp in ACF , if i am doing wrong please guide, because i am not sure what explode and str_pad is doing here
so my CF equivalent is:
<cfset nonce = createobject("java","java.lang.System").currentTimeMillis() & "000">
what is base64_decode
and base64_encode
of PHP in ACF
i think binaryencode
and binmarydecode
but i am not sure
and i tried finding a lot what is http_build_query
in PHP as to Coldfusion, but i think its cfhttp
but i have no clue