I assume your trying to sign the url for OAuth?
Try out this library: http://code.google.com/p/oauth/
Kendall Hopkins
2010-06-26 21:09:15
I assume your trying to sign the url for OAuth?
Try out this library: http://code.google.com/p/oauth/
You have 2 problems at least,
Try this,
$key = "vNIXE0xscrmjlyV-12Nj_BvUPaw=";
$data = "/maps/api/geocode/json?address=New+York&sensor=false&client=clientID";
$my_sign = hash_hmac("sha1", $data, base64_decode(strtr($key, '-_', '+/')), true);
$my_sign = strtr(base64_encode($my_sign), '+/', '-_');