|
Yes it can, the script is used here to block access to JPG and GIF files, just set it up as HTM, HTML, PHP or whatever the file type is. Sites linking to you will get your 403 (forbidden) page, customise that to whatever you want. If you want to be real smart you could put a $HTTP_REFERER script in and redirect users to different pages depending on where the foreign link was from.
Just out of interest though, why do you want to stop other sites from linking to you?
|