Forum Moderators: coopster
I need a script for a site we want to launch for our charity. If anyone can help i can possibly arrange for the charity to pay you for your work.
Basically we have a service at a church once a week and we record the audio of the event as .rm files. We have a folder on the root of the website called "archive" so it looks like [localhost...]
We store all the .rm files in this folder. we already have a system in place to upload to this folder. The only thing we want to do is avoid the headache of manually editing the html page just to add a link to the rm file so people can listen to it. The following script solution is what i thought of and would really appreciate if anyone can help us achieve this.
index.php will be the main script that will display the links to the rm files, but once a week the script should read the "/archive" folder and look for any rm files. if it finds any, it should then move the rm files to a subfolder in the "archive" folder called "media" so the main rm files will be moved and stored in "/archive/media"
once the script moves the files over to the media folder it should then index the files and sort it with the latest on top. It should index the files possibly in some text file and each rm file needs to have some sort of description so that the link can have a description rather than having the file name as the link. by default the description of each file archived can be the date it was created. and then possibly have a admin.php script that will let me login and change the descriptions of files already archived and possibly delete some archives aswell.
This way only new files will be added and old files stay unaffected.
Many thanx in advanced.
Laura
I just created a form with the following fields
-month
-year
-volume
-issue
-details (i.e. description of contents)
-file upload field
The newsletter editor can log on to the site and upload the file. The file name is automatically assigned based on the month and year. The home page then has a link to the archive (all newsletters) and a link to the current newsletter which is updated simply by searching the DB for the most recent newsletter.
As set up, it assumes
- the site has some sort of log in/user authentication
- a database available.
Would that work for you?
Tom