Posted by Johny on 11/27/05 18:53
Hi all
I have never done any work with php but I need to understand how something
works and see if it will help me in a problem I have.
The site I am creating has a number of links throughout it to download a
file (the same file every time).
The file will need to be changed every so often but I don't want to have to
change the links on every page and I also don't want to have another page
that's in between the download links and the file itself.
I've come across a site that is doing a similar thing to what I want to do
and the way its been done is they have created a page/file called
download.php and this is what the download links point to.
When it is clicked from any download link the download begins and if you
click cancel you are still at the page where the link was clicked.
I assume that the page/file download.php could be edited and the link to the
download be changed which is what I'm looking for.
Can anybody shed any light on how I can do this, perhaps I'm barking up the
wrong tree and I don't actually need a php file.
Thanks in advance
J
[Back to original message]
|