View Full Version : Your Thoughts

10-28-2006, 07:33 PM
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.
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.)

10-28-2006, 09:46 PM
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.

10-29-2006, 03:22 AM
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.