DOWNLOAD on a website

<a href="download.exe">
<img border="0" src="button.gif" width="65" height="38">
 
Or if you want an actual button:

<input type="button" onclick="javascript:window.location='download.exe';" value="Click to download">
 
hey is the "download.exe" the file?
and also
before u download the program is there away a person has to pay first before they can download the file?let me know and thanks for the help
 
Yes, download.exe is the file.
before u download the program is there away a person has to pay first before they can download the file?let me know and thanks for the help
Yes but its alot more complicated that any of the above examples
 
good call on the actual button, i couldnt think of the code for that.


there is a way, but it is MUCH more complex then the above methods.
 
The best way to do it would have the user register on the site and then point them to the payment page. You would need a IPN (instant payment notification) script that communicates with your payment processor (paypal, nochex etc), which would receive a notification when the payment is processed and would 'activate' the user by providing them with a link something like download.pl?file=filetodownload which would not reveal the location of the actual file itself.
 
Back
Top Bottom