Need JavaScript and PHP Script - EASY
I need a script that will show all users a 404 Not Found unless they were referrerd from a list of domains I put in the file. The file is to be a php file that will be loaded from a java script that you need to write.
It needs to be two parts. 1st part is a java script like below that will point to a php file where you will write the script to redirect users if they match on of the referrers ( I should be able to put as many referrers as I want, and it needs to match any part of the domain.
Such as, referrer was from yahoo, I can say all yahoo visitors can be redirected to [login to view URL] and all msn users are redirect to http://www.fff.com.