The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Downloading files, Download files and notify
madaxeman
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 11 2018, 06:42 AM
Post #2


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,927
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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
madaxeman
post Apr 11 2018, 06:48 AM
Post #3





Group: Members
Posts: 3
Joined: 11-April 18
Member No.: 26,631



QUOTE(pandy @ Apr 11 2018, 06:42 AM) *

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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
CharlesEF
post Apr 11 2018, 10:32 AM
Post #4


This is My Life
*******

Group: Members
Posts: 1,491
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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
madaxeman
post Apr 11 2018, 10:36 AM
Post #5





Group: Members
Posts: 3
Joined: 11-April 18
Member No.: 26,631



QUOTE(CharlesEF @ Apr 11 2018, 10:32 AM) *

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.

They do support php, but I dont know enough of php to write the code. Can anyone help?
please?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
CharlesEF
post Apr 11 2018, 12:41 PM
Post #6


This is My Life
*******

Group: Members
Posts: 1,491
Joined: 27-April 13
From: Edinburg, Texas
Member No.: 19,088



QUOTE(madaxeman @ Apr 11 2018, 10:36 AM) *
They do support php, but I dont know enough of php to write the code. Can anyone help?
please?
Do they support any other server side language that you know?

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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 20th June 2018 - 02:53 AM