$v) $q .= '&'.$k.'='.rawurlencode($v); $q = str_replace('&ts=j','',$q); } else $q = ''; /* if (strpos($_SERVER['HTTP_HOST'],'informationen-bilder.de') !== false) $t = @file_get_contents('https://www.informationen-bilder.de/buecher20.php?ts=j'.$q); if (strpos($_SERVER['HTTP_HOST'],'fotos-informationen.de') !== false) $t = @file_get_contents('https://www.fotos-informationen.de/buecher20.php?ts=j'.$q); else */ $t = @file_get_contents('https://www.erwin-purucker.de/buecher20.php?ts=j'.$q); if (strpos($t,'') !== false) { $beginn = strpos($t,'') - strpos($t,'')+5); } if (is_integer($lastmod) && $lastmod != 0) { $lastmod = gmdate("D, d M Y H:i:s",$lastmod).' GMT'; header('Last-Modified: '.$lastmod); } $ifModifiedSince = preg_replace('/;.*$/', '', $_SERVER['HTTP_IF_MODIFIED_SINCE']); if ($ifModifiedSince && $ifModifiedSince == $lastmod) { header("Status: 304 Not Modified"); header('HTTP/1.1 304 Not Modified'); exit; } $hash = md5($t); $ifNoneMatch = str_replace('\\"','"',$_SERVER['HTTP_IF_NONE_MATCH']); $ifNoneMatch = str_replace('"','',$ifNoneMatch); if ($ifNoneMatch !== '' && $ifNoneMatch == $hash) { header("Status: 304 Not Modified"); header('HTTP/1.1 304 Not Modified'); exit; } header('ETag: "'.$hash.'"'); $contlaenge = strlen($t); header("Content-Length: ".$contlaenge); header("Accept-Ranges: bytes"); $kopf = headers_list(); $xpow = 'n'; foreach ($kopf as $kop) { if (strpos(strtolower($kop),'x-powered-by') !== false) $xpow = 'j'; } if ($xpow == 'j') header('X-Powered-By:'); echo utf8_encode($t); ?>