Find Jobs
Hire Freelancers

Code Fix - Referrer Check / redirect

$30-250 USD

Kapalı
İlan edilme: neredeyse 15 yıl önce

$30-250 USD

Teslimde ödenir
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!
Proje No: 439872

Proje hakkında

24 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 15 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir

Müşteri hakkında

   UNITED KINGDOM bayrağı
london, United Kingdom
5,0
118
Ödeme yöntemi onaylandı
Eki 29, 2006 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.