A simple project for which I am in need of a new automated php script which can be added to the attached scripts to do the work.
The attached scripts are the original working scripts that I have been using to suit my demand and they work just fine.
The MAIN purpose is to create as an automated general system (php script) to classify the main three extensions (gz, txt,rdf)? So that the end user doesn’t need to go through all the scripts to make the necessary changes such as the URLs and some other extensions. After that, user be able to unzip and later download the selected file name.
Therefore, one or more scripts are needed to act as the new parameter for the following order:
1- user is presented with 3 extensions to choose from. (gz, txt, rdf)
2- depends on what user selects
3- if the selection is .gz, the rest of the extensions is set to false, then the script unzips the file and starts downloading the file from the URL
4- if selection is .txt, then .gz, rdf set to false and then .txt starts downloading.
5. if selection is .rdf, then .gz, txt set false, start downloading .rdf file.
All the files are located at: [url removed, login to view]
User must be completely free from editing/modifying the scripts so everything must be done automatically.
However, script redundancy should be avoided in that case....
I have been running through the command prompt....and also using MySQL.
If done, there should be a simple description about all the changes taken place.