Downloading files, Download files and notify |
Downloading files, Download files and notify |
madaxeman |
Apr 11 2018, 04:25 AM
Post
#1
|
Group: Members Posts: 3 Joined: 11-April 18 Member No.: 26,631 |
How do I use html to do the following
1. User clicks on a button 2. User is asked to enter their email address 3. Message sent to user's email address with link to file for downloading 4. At the same time sends an email to me to notify me of the user's email address |
pandy |
Apr 11 2018, 06:42 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
You don't. Not with HTML. You need server side scripting at least for the email you are going to send. Maybe also to generate a unique one time URL for the download of you don't want the user to be able to share the download URL.
|
madaxeman |
Apr 11 2018, 06:48 AM
Post
#3
|
Group: Members Posts: 3 Joined: 11-April 18 Member No.: 26,631 |
You don't. Not with HTML. You need server side scripting at least for the email you are going to send. Maybe also to generate a unique one time URL for the download of you don't want the user to be able to share the download URL. I thought that would be the case. Can you suggest some scripting to achieve what I am trying to do? |
CharlesEF |
Apr 11 2018, 10:32 AM
Post
#4
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
I would suggest you check with your web host provider to find out which server side languages they support. If they support PHP I would go with that.
|
madaxeman |
Apr 11 2018, 10:36 AM
Post
#5
|
Group: Members Posts: 3 Joined: 11-April 18 Member No.: 26,631 |
|
CharlesEF |
Apr 11 2018, 12:41 PM
Post
#6
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
They do support php, but I dont know enough of php to write the code. Can anyone help? Do they support any other server side language that you know?please? If you do have to use PHP then yes, someone on this forum can help. The good thing about PHP is that there are plenty of examples on the internet, search example: 'php send email'. I don't think anyone will write the code for you (at least not for free) but if you put the effort in to write your own code then you can post that code along with an explanation of the problem you are having. I'm sure someone can help. |
Lo-Fi Version | Time is now: 25th April 2024 - 12:41 PM |