Php script that takes the features of two different other scripts and combines them.
I have a script that rotates ads or text snippets whenever a browser is refreshed. I also have a content generator script that generates pages from rss feeds, scrapes, etc. and then caches each page as an html file (to a cache folder) to be included each time within a php displayed file whenever a browser requests that particular page. Cache of these files can be set to any length of time (not set individually but as a whole). Therefore, the algorithm functions like this: browser requests a php file, algorithm looks at length of time html file has been in the cache subdirectory, if is less than the set cache time then the algorithm selects the html file from the cache subdirectory to be included in the php file (html file and php file have same name except for the extension), if length of time is more than the set time then the algorithm creates a different html page to overwrite the old one and then also be included in the same named php file to be delivered to the browser.
Therefore, I want a rotate ads (or text) script that has this cache ability. It will dynamically grab a random selection of snippets (from a previously created snippet text file), create an html file for these randomly selected snippets to be stored in a cache subdirectory, and then also be delivered as an include file (within a similarly named static php file) when a browser requests it. A new “randomly selected snippets” file would be created automatically after a defined cache time expires and then overwrite the previous html file (this newly created cache file is created only when a browser or robot requests it-not all cache files would be created at the same time). Note: script should not grab a snippet that has the same title as the php file it will be included in. This script will not use mysql.
The winning bidder with experienced php skills should have little problem programming this in a very small amount of time given that I will allow him/her to view the scripts that already have the features as I described above.
I will have full copyright to the created script.