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