Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi forum folks
I manage a simple website for a group who want to enable users to download one of their tracks in exchange for the downloader's email address. So I'm looking to find and incorporate some simple PHP code which will load the email from the online form into a database then allow the person who filled in the email form to download the track.
All sounds simple but I cannot find any code like that with the set-up info. I'm pretty sure this is an easy task though and that there are lots of that type of stuff out there. Am I right?
Regards!
eL
collecting email-adresses from people who want to download something seems not very legitimate to me. Why would someone give you his email-adress?
Could you please provide more information and convince us, that you are not doing something illegal?
Markus
Because they are fans who presumably like the music and we would like to keep in contact with them. We are not taking their emails without them knowing. They are registering, in the same way that when you register on this forum you have to submit your email and the forum administrators are able to email you. Many of the music band sites will allow you to download a track if you register with them. My clients are not doing anything different.
Marcus, how do you see it as any different than requiring a registration to be able to post on message boards?
Well, when I register in a forum, I know for what my mailadress is used, namely for notifications or a newsletter. But I understood, that the OP wants to gather people's email-adresses which can be used for example for spam. So I asked for more information.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.