I have a software downloads website thenoblesite.com. Whenever a new version of a software is released(for e.g Google Chrome v17.0.1), I have to change the heading,title to new version name i.e.
<title>Google Chrome v17.0.1</title>
<h3>Google Chrome v17.0.1</h3>
and the download link to:
<a href="thenoblesite.com/downloads/googlechromev17.0.1-thenoblesite.com.exe"> Download Google Chrome v17.0.1</a>
Also I have to change the file name as I have to add "-thenoblesite.com" with every file name.
Doing all these changes is time consuming and some times missing any of these changes or misstyping creates a lot of problem/confusion.
Q1.Is there any way in PHP to do all these changes(heading,title,and download link) by just changing one field?
Q2. Can I use PHP to automatically add "-thenoblesite.com" with the downloaded file name "googlechromev17.0.1.exe" so that the actual filename on server folder remain the same(i.e. googlechromev17.0.1.exe) but whenever someone download it, it automatically become "googlechromev17.0.1-thenoblesite.com.exe"?
(Note: I have used Google chrome just as an example to claify my question. I do agree with people who think that every software should be downloaded from its official page)