the problem is that I have a remote js file to include in a page and it has to be included the last version of it. To be more specific: The file is for example: http://example.com/javascript/v03/header.js The problem is that when they generate a new javascript file the url will be changed to http://example.com/javascript/v04/header.js for example.
The URL will be changed to a new version number.
My question is what will be the best/clean way to detect a new version of that file in Php?
Thank you!