$fl = $_GET['flog'];
if ($_GET['orden'] == h) { $il = " "; }
elseif ($_GET['orden'] == v) { $il = ""; }
$fp = fsockopen("www.fotolog.com", 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)
\n";
} else {
$salida = "GET /".$fl." HTTP/1.0\r\nHost: www.fotolog.com\r\n\r\n";
fwrite ($fp, $salida);
while (!feof($fp)) {
$content = fgets($fp, 128);
if (ereg("rf_src", $content)) {
if (substr($content, 13, 4) == http) {
echo "
}
}
}
fclose ($fp);
}
?>