View Single Post
  #2 (permalink)  
Old 10-18-2006, 03:48 PM
Chrisms Chrisms is offline
Newbie
 
Join Date: Aug 2006
Location: NJ
Age: 19
Posts: 28
Credits: 0
Rep Power: 9
Chrisms is on a distinguished road
Send a message via AIM to Chrisms
Default

Quote:
Originally Posted by Nightracer View Post
I'm going to track my downloads using PHP and needed some input.

1) I'd like the user to fill out a form with his/her name and email. Is this a good idea or bad? How do most people view this? Do they fill out the form or not?

2) What information should I collect? IP? What good is it? Browser Type? Why? etc.

3) Should I host my files in a database or not? Should I use a download.php?id=file.zip type structure?

4) Is certain referers blockable in PHP?

Thanks
1) fill out a form, with an email saying where you can find the download link? That's a decent idea. but i know i hate giving my email out. But, if you go that way, you can have it email and then have it link to like, ?ID=rggiofw459085mbsfda and then in teh database that random letters i just button mashed will have a file associated with it, and when you look for that ID, it prompts the user to download that file.

2) Why do you need information?

3) see number 1 if you're going to do emails.

4) Yeah, I do belive, correct me if im wrong, you can see where the user came from. And then just block it with like, searching the array of blocked refferers for that referer.
Reply With Quote