• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

this site's downloading script

Status
Not open for further replies.
Level 7
Joined
Nov 12, 2005
Messages
299
i was trying to develop a php script that will work just like the one on this site: instead of direct downloading, it redirects the file and allows you to put the download count this way.
so far i've found a way to do this, however every time i download a w3x or w3m file its md5 doesn't match with the original and it wont load.
i believe that the problem is the content type since don't know which is used for warcraft maps (the one i tried is application/force-download).
i would realy apriciate if someone could post a part of the current download script or just tell me what content type should i use.

thanks in advance
 
Status
Not open for further replies.
Top