Sign in
webkit
/
WebKit
/
49e061d8a3dbe8c30f3935dcdd27d7b6b9ae2882
/
.
/
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'
);
?>