getting the title out of a html file shouldn't be too difficult? well, I'm doing something wrong here:
$head_array = file($headfile);
preg_match("/<title>(.*)<\/title>/i", $head_array, $titlearray);
$title = implode(" ",$titlearray);
echo( "title: ".$title);
all I'm getting is "title: Array"???
should I use something else then preg_match?
I've been to php.net (ofcourse) and I think I got the syntax right...