How can I divide a md5 function with a colon?

Currently I have this:

$ms = md5($transactionid:$secretkey);

But that code is invalid.

I can divide it with a "." but not a ":"?

有帮助吗?

解决方案

$ms = md5($transactionid.':'.$secretkey);

You need to concatenate with .

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top