1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mediafire dl link questions

Discussion in 'General Scripting Chat' started by Mutikasa, Dec 1, 2012.

  1. Mutikasa

    Mutikasa Power Member

    Joined:
    May 23, 2011
    Messages:
    574
    Likes Received:
    207
    a.) Why is the question mark without any variable:
    Code:
    http://www.mediafire.com/?z33g4f7xyz2x2fi
    . What is that? Why it isn't ?z=33g4...?

    b.) download link for this is:
    Code:
    http://199.91.152.234/io2rsejwihig/z33g4f7xyz2x2fi/Deal+Site+Profit-6.rar
    which is put inside the <div>:
    Code:
    <div class="download_link" id="d5394ef0c3d0bdc51952b03d674b1c4d" name="d5394ef0c3d0bdc51952b03d674b1c4d">
    Now, what does all this strings represent?
    there is:
    1. z33g4... in the url and in the download link
    2. io2rse... in the download link
    3. d5394.... in the div name

    Why the need to have so much random strings?
    I wanna know how are they created and why.
     
  2. jazzc

    jazzc Moderator Staff Member Moderator Jr. VIP

    Joined:
    Jan 27, 2009
    Messages:
    2,468
    Likes Received:
    10,148
    Imagine you have a gazillion files and you need a way to access them uniquely via a url.

    One simple solution is to create a hash whose properties include the almost certainty that you 'll never get the same from 2 different inputs. Then you use this hash to reference the file.