Mam problem z dekodowaniem JSON, api od reducelnk zwraca takie coś
Resource id #21{"error":0,"msg":"None","link":"http:\/\/lnk.co\/KXOO1"}
Nie wydobywa linku. Mogę prosić o pomoc?
Resource id #21{"error":0,"msg":"None","link":"http:\/\/lnk.co\/KXOO1"}
$rdl = json_decode(file_get_contents('https://reducelnk.com/api.php?task=shorten&user=LOGIN&pass=HASŁO&url=http://google.pl/));
Notice: Trying to get property of non-object in
$rdl = json_decode(file_get_contents('https://reducelnk.com/api.php?task=shorten&user=LOGIN&pass=HASŁO&url=http://google.pl/));
$rdl = json_decode(file_get_contents('https://reducelnk.com/api.php?task=shorten&user=LOGIN&pass=HASŁO&url=http://google.pl/'));