Hello allheres what im trying to do scrape a page for data between two words ,reformat it as a link and then follow that link to get the final info i want ..all works fine till the second part comes into play--following the link
here is my script which produces the link i need and the eror code. any help is welcome--
of course im googleing this at the same time so i might find an answer
ciao
`<?php
$content=$_GET["link"];
$FILE = file_get_contents($content);
$FILE = str_replace('value="','"http://www.vidhog.com/embed-',$FILE);
$FILE = str_replace('">','.html"',$FILE);
preg_match('|<input type="hidden" name="id"(.+?)<input type="hidden" name="fname"|is',$FILE, $matches);
print $matches[1];
?>``