require 'match.php'; $file = file_get_contents('http://wowdb.com/' . $_GET['url']); $file = str_replace( 'href="/', 'href="http://fooo.fr/~vjeux/db/', $file); $image = match($file, '