Start a new topic

JSON poll with dynamic URL

Hi,


I have a simple (newbie) question : is it possible to poll JSON with an URL that change everyday like this :


example today :


http://ilco13.com/07122017.json


but tomorrow it will be  :


http://ilco13.com/07132017.json


It will always be ilco13.com/DATE.json


Thank you for your help...


You might want to host a php somewhere, and make it
echo file_get_contents('http://ilco13.com/'.date('mdY').'.json');
Login or Signup to post a comment