Find Jobs
Hire Freelancers

Code Fix - Referrer Check / redirect

$30-250 USD

クローズ
投稿日: 15年近く前

$30-250 USD

完了時にお支払い
I currently have some code in some of my pages. The code checks the referrer URL and if it is not one we approve then it sends the user away. This is to stop people accessing the page directly and to allow through only those who have found the page through a link on the partner site. We CANNOT use htaccess file to do this. The code works on all browsers EXCEPT Explorer (I think v. 6) The code is below. Can anyone find a solution so that we can achieve the required result on all browsers? You can see this in action at [login to view URL] The code is: $Referer = getenv("HTTP_REFERER"); if (!strchr($Referer, "partnersite.com")) { echo "<script>alert('You are being redirected. You do not have permission to access this page directly.');window.location='[login to view URL]';</script>"; exit(); } For a solution I will pay $30 - no more. If you know of a way to fix this successfully, then this is very easy money. If you don't know a way then please don't bid because I won't pay you if you cannot fix it!
プロジェクト ID: 439872

プロジェクトについて

24個の提案
リモートプロジェクト
アクティブ 15年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です

クライアントについて

UNITED KINGDOMのフラグ
london, United Kingdom
5.0
118
お支払い方法確認済み
メンバー登録日:10月 29, 2006

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。