Display different code for specific referrer

Fertiggestellt Veröffentlicht Apr 4, 2013 Bezahlt bei Lieferung
Fertiggestellt Bezahlt bei Lieferung

I want to include different file/code for specific referrer.

I have a file for example [login to view URL] with domains list, it looks like this:

[login to view URL]

[login to view URL]

...

[login to view URL]

Now I need...

php script that will use $_SERVER['HTTP_REFERER'] to check referrer domain and compare that domain to domain list from sites.txt

and if referrer domain is on that list script include file1.php
if referrer is not on that list or if there is no referrer script include file2.php

PHP

Projekt-ID: #4400618

Über das Projekt

4 Vorschläge Remote Projekt Aktiv Apr 4, 2013

Vergeben an:

waelfree

Hi, I can do that immediately

$30 USD in 1 Tag
(189 Bewertungen)
7.9

4 Freelancer bieten im Durchschnitt $54 für diesen Job

Tulear

Just award me this project and consider it done ! You have a real professional here, ready to make you happy. Thank you.

$90 USD in 1 Tag
(251 Bewertungen)
8.8
dewed

Ready to start

$47 USD in 1 Tag
(23 Bewertungen)
4.2
webdeveloper1992

I can do it

$50 USD in 1 Tag
(9 Bewertungen)
3.5