I need a Security and Referer script in PHP 4. The script must be able to either block or allow a visitor in my web site by checking the following things: 1. Referer, 2. Language of user's PC or browser, 3. Country by IP, 4. operating system, 5. screen resolution. If the visitor does not cover the requirements he will redirected to a ban URL or allowed URL that I must be able to congigure in the script. So for example I must be able to configure the script to allow only visitors from a certain referer. Or I might dissallow a visitor if he is coming from a certain referer web site. I might want to disable visitors from South Africa, or visitors that their PC language is in Chinese, or Allow only visitors that have English Language in their computer. But also I must be able to check the referer too. So an example would be a visitor that comes from [url removed, login to view] will be allowed in my page that is protected by the script or if I have set a allowed URL in the script then he will be redirected to the allowed URL but only if he is comming from China. If he is from another country he will be redirected to another URL of my choice. But if he is coming from China but his computer has English language operation system (or browser) then he will also be redirected to the URL that unwanted visitors must be redirected(ban URL). Read more in the project's attached file.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
Unix, Linux, PHP 4.0, Internet Explorer, Firefox.