Hi
I am a new to PHP and would like to understand what the following is doing?
and also how and what function can I use to stop get the images from the file_get_contents not to look on my server for them but replace this with the correct path.
$html = file_get_contents($uri);
$html = preg_replace('/<head>/i', "<head>\n<base href='$uri'>\n", $html);
Many Thanks
PHPNEWTOIT