Optimal Bandwidth PHP Download Script?

Discussion in 'PHP' started by Flamerid, May 15, 2008.

  1. #1
    I need to make a download system that masks the download's location. I'm currently using readfile() but I'm not sure how hard that is on the server and bandwidth. I also don't know how well that would work when handeling large files like 300mb +

    Need some advice on how to make a download script optimal on the server's resources and easy on the bandwidth.

    Help, please.
     
    Flamerid, May 15, 2008 IP
  2. NatalicWolf

    NatalicWolf Peon

    Messages:
    262
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    doesn't matter...And the answer is nothing does. Unless you send the files zipped or tarred, then thats a different story. you could actually maybe GZIp the sent data...look into using ob_Start or something like that.

    Basicly: If you are sending a large file, the amount of bandwidth you use, will be a lot.
     
    NatalicWolf, May 15, 2008 IP