repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
media
/
resources
/
video-referer-check-referer.php
blob
4210d38b04a389a095d00989b9c820d8f6714e61
1
<
?php
2
3
$refer
=
$_SERVER
[
"HTTP_REFERER"
];
4
if
(!
isset
(
$refer
)
||
stripos
(
$refer
,
"video-referer.html"
) ===
false
)
5
die
;
6
7
$fileName
=
$_GET
[
"name"
];
8
$type
=
$_GET
[
"type"
];
9
10
$_GET
=
array
();
11
$_GET
[
'name'
] =
$fileName
;
12
$_GET
[
'type'
] =
$type
;
13
@include
(
"./serve-video.php"
);
14
15
?
>