Having a little problem with an API that’s out there and before I admit that it’s broken and i’m not – figured someone might see what i’m doing wrong.
This is what they are asking for as part of the url – a signature that is formed by this:
hex-encoded MD5(key + secret + timestamp)
And this is what i’m giving them that’s failing:
$key = 'xxxxxxxxxxxxxxxxxx';
$secret = 'DeMxxxxxxxxxw';
$timestamped = $_SERVER['REQUEST_TIME'];
$signature = md5($key + $secret + $timestamped);
So am I doing something wrong or are they not playing with me well?
Maybe you want to use
.(concatenation) instead of+(sum)