Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User Input Required Downloads Page

Status
Not open for further replies.

MicahDB

Programmer
Jul 15, 2004
96
US
All,

I'm having a hard time getting my brain around how to best handle this situation and I'm hoping someone can give me a some ways to handle it.

I've got a downloads page on a site and want to require 'downloaders' to submit name and email contact info prior to downloading the data.

Thoughts? It doesn't have to be the most secure thing in the world. The situation doesn't allow for database connectivity or anything other than HTML pages.

Thanks in advance.
Micah
 
If you have no server-side scripting available to you, how are you going to get the information the user enters sent to you?

I'd say you pretty much need some sort of server-side scripting to do this reliably (i.e. without the need for JavaScript, which users can choose to disable).

Dan

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Without a db, you could do this:
[tt]
[ form ]
| submits to
[ emailer script ]
| redirects to
[ download page ][/tt]


You still need server side code. Formmail is a well known (infamous?) free Perl emailer script.

The downloader page is protected by obscurity: the only link to it is the redirection provided by the email script. Of course, there's nothing to stop someone else providing a direct link on their own site.

<marc>
New to Tek-Tips? Get better answers - faq581-3339
zioncore - accessible web design & IT consulting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top