<?php
$json = file_get_contents('http://phpandroidrtv.alwaysdata.net/PHP/gulli.php');
$feed = json_decode($json);
$token = explode("lagardere-gulli-hls-live", $feed);
$token_rtsp = $token[1];
echo "http://lagardere-gulli-hls-live", $token_rtsp;
?>
et voici le résultat : http://phpandroidrtv.alwaysdata.net/PHP/gullidecode.phpCode : Tout sélectionner
{
"schema": "http://json-schema.org/draft-04/schema#",
"title": "Product",
"description": "A product from Acme's catalog",
"type": "object"
}$datas = json_decode($json);
$title = $datas->title;