Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Your Thoughts

  1. #1
    Regular Coder
    Join Date
    Apr 2006
    Posts
    231
    Thanks
    9
    Thanked 1 Time in 1 Post

    Your Thoughts

    I'm making a simple download script that takes .zip/.rar files and downloads them basically. I have 2 ways in my head.

    1- Open Directory. Should be fairly simple as far as links go and they are already in alphabetical order, but I have no idea on how to add info to the file. I want to be able to add File information, file art, and the goodies so it actually looks like a download script.

    2- Flat Files. They have never let me down. I can do a simple file with explodable lines and just use it as an array.
    Name||Description||Link
    Problem is that after uploading to server, you have to go in and add/change the information. It also doesn't align them alphabetically (pretty easy to do though).

    I'm leaning towards Open Directory. If you have any idea on how to add any info to this let me know. (I could use a flatfile in the open directory and get info from it but that would be almost as much work as the 2nd option.)

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,495
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    The descriptions are too nice to avoid. So, flat-file is my opinion.
    Open directory seems sort of "unfinished" and raw, although it's
    obviously easy. Better yet would be PHP/MySQL. Then, you could
    add some future things, like membership download only, email the script,
    etc. A little better control than flat-file, and more secure.
    But with what you described, flat-file.

  • #3
    Regular Coder
    Join Date
    Apr 2006
    Posts
    231
    Thanks
    9
    Thanked 1 Time in 1 Post
    I've had a user system before, and it didn't turn out to be very nice. I put a poll up and I think it was like 87% of my members didn't want to be required to register in order to download. I'm just going to keep it simple. Theres no benefit on my side to get members (other than forums).

    Anyway, I'm going for flatfiles right now since they are pretty easy. Maybe on the next version I can move into mysql again.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •