$fp = fopen("http://owata-net.com/";, "r");
これでhtmlをオープンした後に
<div id="test">と</div>に挟まれている文字列を抽出したいのですがどうすればいいですか