After having PHP-Nuke for quite a while, I decided to delete it and make my own CMS that is unexploitable. But now I need to make forums and downloads sections. Instead of coding it all in html, I would rather have PHP & MySQL do all the work within 1 file using functions. The problem is...I dont know where to start. I think that I am 'overthinking' of what needs to be done, and in what order.. For example: On my site, the url is always "www.hackers-home.com/index.php?view=(a file in content/ folder without .php)".
<edit>
For example..
(show categories) http://www.hackers-home.com/index.php?view=downloads
(show items within category (limit 20)) http://www.hackers-home.com/index.php?view=downloads&cat=SOMETHING&page=1 (if page is different show the next 20 results)
(show download review (has # of downloads, rating, comments, and download link) http://www.hackers-home.com/index.php?view=downloads&cat=SOMETHING&file=(File ID from mysql)
(request random string) http://www.hackers-home.com/index.php?view=downloads&file=ID&action=download
(if string is correct) http://www.hackers-home.com/index.php?view=downloads&file=ID&action=download&confirm=(the random string)
I really hope this isnt confusing (Note: I already looked for download management systems, didnt find anything)
</edit>
So in this case - I need a download management system that has these features..
It shows categories
It shows downloads within that category (Limited to 20 results per page)
It takes you to another page to where you have to type a randomly generated string and confirm (Ex: je32ixao)
If the string was confirmed (To prevent direct linking) Then it will let the user download the file
However, before downloading the file, the server will first rename the original file (Ex: {JAX9A-D8X9A-X8A8X-JK4LA}.zip to {Username(from session)+MyFile.zip) into a TEMP directory then deleting it after a certain amount of time (ex: 3 hours) (ex: Robert+MyFile.zip)
After the file has expired (Ex: after 3 hours) the 'MyFile.zip' will be deleted from the Temp directory
Start process over again
[/list=1]sigh I dont know where to start or whatnot :bemused: .. Please help - Its greatly appreciated! (or if you're bored - write a script for me
)