Есть код
$res211 = file_get_contents("https://api.vk.com/method/photos.save?group_id={$group_id}&album_id={$album_id1}&server={$serverf}&photos_list={$photog}&hash={$hash44}&caption={$textpot}&access_token={$access_token}&v=5.95");
$res21 = json_decode($res211);
$niudsg = $res21->response[0]->id;
После запроса возвращают ответ в JS, тут и начинается проблема, Я не могу получить ничего(номер ошибки, текст ошибки, и т.д).
А на самой странице выходит ошибка
Warning: file_get_contents(https://api.vk.com/method/photos.save?group_id=000..."photo":"313b5d4:z","sizes":[["s",8333,"11113","q5r2PhWVeY",75,75],["m",000000000,"118a14","Wyвharm280",130,130],["x",000000000,"118a15","9zSzgsfbxg",604,604],["y",000000000,"118a16","WFаFscatqQ",807,807],["z",851528333,"118a17","2gHL-aFLVEM",1039,1039],["o",000000000,"118a18","0UdgfbgFTX4",130,130],["p",000000000,"118a19","DgjXidgtmjJ0",200,200],["q",000000000,"118a1a","7ZvagfjIqo",320,320],["r",000000000,"118a1b","yjpfggdfPgSvI",510,510]],"latitude":0,"longitude":0,"kid":"87b23vhdjfhecbe06"}]&hash=d41ed9gthee95 in /public_html/0132/484/25.php on line 31
Документация на метод
photos.save