title: Download and store JSON file from url. PHP
body: <p>in my project, i have to get and store the json data from a url. I have managed to get the json data using file_get_contents. Now i wish to store the retrieved data into a folder in json format. Is it possible? if so how do i do it. Thanks in advanced.</p>