I run a website with about 650 real player songs. I have a database for them and everything. If u dont know how real player works it has two files.
file.ram ---which is just a notepad file with the link to file.rm
file.rm--- the actual song.
right now when i play a song i call the .ram file which then calls the .rm file. The thing is that real player shows the location of the .ram file. People can then open the file and look at the .rm link.
What i want to do is generate the .ram file automatically from the database and then delete it about five minutes later or so.
The second option is to just move the .ram file from a secret folder to a temporary folder. After five minutes or so i can delete the file.
Since i dont have much experience with php i want to know what is the easiest way to do this, is it fast, and will it slow down the server?
Any other suggestions are welcomed.
Thanks for the help.