. , , .

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 26
$ referer = getenv ("HTTP_REFERER");

$ Tapps_referer = "http://www.google.com";

//,
if (isset ($ tapps_referer) & & $ tapps_referer !="") {

if ($ i = strpos ($ referer ,"?")) {
$ Referer = substr ($ referer, 0, $ i);
}
if ($ tapps_referer! = $ referer)

{

header ("Location: www.site.com");
// ,
}
else
{
header ("Location: viagra.php");
// , viagra.php
}

}

, .

: 30/03/11 @ 05:22
г

:

! .
: ?
Zend Framework 1.10.7
- -
9 PHP