Hi everybody, I am a total newbie when it comes to php. I found a file called pfv.php on my server. I am not sure where it comes from but if I try to go to it via mysite.com/pfv.php I get a 404.
The code inside the file is :-
<?php
$fd= fread(fopen($HTTP_REFERER, "r"), 100000);
if ($fd)
{
$start= strpos($fd, "<!-- CONTENT -->");
$finish= strpos($fd, "<!-- /CONTENT -->");
$length= $finish-$start;
$code=Substr($fd, $start, $length);
}
echo '<html>
<head>
<title>/www.yourpower2be.com/</title>
</head>
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
'.$code.'
<br clear="all"><em>'.$HTTP_REFERER.'</em>
</body>
</html>';
?>
Can any body tell me what this does please?
Philip10