|
|
![]() |
|
|
Top | #1 |
|
Apple lover, PC User
Joined: November 2002
Location: Australia
Posts: 526
Reputation: 0
Power: 118 |
I notice when a person posts a attachment, for example their desktop as a .jpg, you guys (ntfs) put a lil but of text under the link, saying Downloaded % times (% = amount of times downloaded) How do you do this, or if you can, what is your code? Thanks |
|
|
|
|
|
Top | #2 |
|
NTFS Guru
Joined: January 2002
Location: Sweden
Posts: 4,006
Reputation: 890
Power: 171 |
Well it's like this. Each file is given an ID that is stored in the database. When you click the link it goes to a special download page (attachment.php in this case). This page checks the ID against the database, ticks off another download on a counter and redirects the browser to the acctual file.
|
|
|
|
|
|
Top | #3 |
|
Unregistered
Posts: n/a
|
never new that. I just don't care about how the message board handels things
|
|
|
|
Top | #4 |
|
NTFS Guru
Joined: January 2002
Location: Sweden
Posts: 4,006
Reputation: 890
Power: 171 |
Good programming is made so that the user doesn't have to think about what happens. He/she only clicks, types and posts so to speak.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Downloaded New Program | jelawman | Windows Desktop Systems | 6 | January 19th, 2003 5:02am |
| ive downloaded sp1 but..... | dabomb | Windows Desktop Systems | 7 | September 21st, 2002 2:48pm |
| Downloaded new Ati driver yuk! | ikester7579 | Windows Desktop Systems | 12 | June 14th, 2002 10:03am |
| SkinStudio4.05 downloaded but no luck | Cosmin | Windows Desktop Systems | 2 | May 2nd, 2002 8:14pm |
| how much have u downloaded in a | BloodLust DWS | Windows Desktop Systems | 9 | December 25th, 2001 2:36pm |