Does anyone know of a way I can control access to a file on a website, dependant on, say, a field in a mySQL database having the correct information in it?
I can do it for a page using the cookies, but don't know how to do it for a file such as an mp3 or jpg.
Using PHP..