Sign in
webkit
/
WebKit
/
bd9ea4a5474a3d7a80a4f79c542279d7b8a087a0
/
.
/
LayoutTests
/
http
/
tests
/
security
/
resources
/
showRefererImage.php
blob: a84b28a78c16f21a24c249b363d19a88e30a5f2a [
file
] [
log
] [
blame
]
<?
php
$refer
=
$_SERVER
[
'HTTP_REFERER'
];
if
(
$refer
&&
stristr
(
$refer
,
"file:"
)
==
0
)
header
(
'Location: http://127.0.0.1:8000/security/resources/red200x100.png'
);
else
header
(
'Location: http://127.0.0.1:8000/security/resources/green250x50.png'
);
?>