Ok, i'm having one major problem:
I've set up a website which allows files to be downloaded from it using following command:
action=downloadfile
filename=........?.........
directory=.......?..........
It's a FREE download, but i hate it when other sites dynamically include my script and use it on their page.
Not only that, but some go through my page and even copy the file link from my page to theirs.
is there php code that can stop my script to be dynamically included somewhere else? (like a protection algorithm)
i guess the link copy thing is not much of an issue as no one can get everything out of my page, its got a lot of files.
one solution i thought of is having the script check for where the command came from (host) but when they dynamically include the page, the request will appear to be coming from the host which is then useless.
I'd appreciate it a lot if somebody could help me.
Thank you in advance!