How do I create a form that once completed allows a user to access a document on my website?
Imran Z asked:
I have created a link to a file on my website. When people click on the link, I want them to be transfered to a form that they need to complete with some details ie. name etc. Once they do this and submit, I want them to be able to access the document and also their details to be emailed to me. How do I do this?
Elsa
I have created a link to a file on my website. When people click on the link, I want them to be transfered to a form that they need to complete with some details ie. name etc. Once they do this and submit, I want them to be able to access the document and also their details to be emailed to me. How do I do this?
Elsa













3 Responses to “How do I create a form that once completed allows a user to access a document on my website?”
For your needs your needs your web host must support smtp services to create registration form.
For your web host must support smtp services to allow email forwarding.
You will need some form of server side programming to do this with any security. Javascript won’t do it. If you do, basically they just have to bookmark the end document and send it to all their friends.
The way it would work is
- Form submits
- After data is validates, the PROGRAM opens the document and reads it into memory. Do not use a “redirect” that redirects to a page, or you’ll have the same problem mentioned with Javascript.
The program prints the document out to the visitor.
You can do this in perl, PHP, ASP, or any dynamic language.
Take a look at this.
Free trial