php decode/aggregate remote JSON file

1
2
<?php
$menuData = file_get_contents('http://www.sampleURL.com/file.json'); // put the contents of the file into a variable
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Simple way to decode remote JSON data

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.