I'm planning to add dls to my site.

Discussion in 'PHP' started by hobodude666, Jul 11, 2007.

  1. #1
    I'm planning to add alot more contents to my site. Probably a whole lot of manga downloads. The problem is I got no clue how to upload large files and make a download section for guests to download off since I only have 5 ftp user accounts max.

    how? n how protect?
     
    hobodude666, Jul 11, 2007 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    If your files are .exe, .zip, .gz etc, anyone can download them and it will not need a ftp connection. As far as uploading, you can use a php script to upload files to a directory on the website. One thing that you need to be careful of is that you have to set permissions on the directory to allow writing which can be a security concern.

    Here's a good script for multiple file uploads.
    http://www.devarticles.com/c/a/PHP/Creating-a-MultiFile-Upload-Script-in-PHP/
     
    jestep, Jul 11, 2007 IP
  3. uglyboy

    uglyboy Peon

    Messages:
    1,963
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I would have thought joomla, (i think thats what ur using) would have came with some kind of download mod.. anyway i found this which maybe of some use to you.. Good luck with your site.. Its coming on well.:)
     
    uglyboy, Jul 11, 2007 IP
  4. hobodude666

    hobodude666 Peon

    Messages:
    150
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I think out of this whole forum, your the most supportive person here.
    I actaully installed http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,102/Itemid,35/
    its a componenet, and it seems to be worknig well so far.
    I just need to change the script runtime so it wont time out.
    Thanks for your support!
     
    hobodude666, Jul 12, 2007 IP