PDA

View Full Version : Download help


asia_trading
8-10-06, 01:31 AM
Hello,

im looking for a code to let ppl download some files from my website,
im not an held in those scrips, :(

if you like to help me with it,would be Great. ;)

thank you for your incoming answers and help

greetz
Martin

BerksWebGuy
8-10-06, 09:26 AM
What kind of files are you trying to download? Are you trying to hide the true location of the downloaded file (so others can't 'leach' it)?

asia_trading
8-10-06, 01:54 PM
no its not to hide,

just the code or file that ppl can download a map file of the game host on my website.

like music download but what is the code or where can i fint it.

files for download is maps game maps.

thank you for your respons.

snowmaker
8-10-06, 02:07 PM
Probably the simplest way to do this
<a href="filename.ext">Whatever Text Here</a>
Put this 'code' into whatever page on your site where you want the link to appear. This sample assumes that filename.ext exists in the same directory as the page.

asia_trading
8-10-06, 02:37 PM
thank you for your answer.

the code,
filename i replace with the name of file.
but it open the file in an text document.

it does not download the file map....

greetings
Martin

snowmaker
8-10-06, 02:42 PM
The file can be archived into .zip format, and the .zip file can replace the actual file in the code, or just put the text "Right-Click to Download this File" or similar.

asia_trading
8-10-06, 05:45 PM
Thank you for your help,
i dit it a bit wrong.
i putted rar and not zip, so i replace it.
and it works perfect.

thank you
Martin

snowmaker
8-10-06, 05:51 PM
I'm happy that you got it resolved. BTW, a .rar, or any achive format for that matter, will work the same way.