how do I get the text from my own file? I only have this: <? echo "<B>Advisories</B>"; $thecontent=join('',file("http://domain/cgi-bin/weatheradvisories.pl"));
if(eregi("Statement(.*)<p>",$thecontent,$content)) { for($i=0; $i < count($content); $i++) { echo $content[$i]; } } ?> It only appears blank! What's wrong? -Steven
use file(), or readfile()
File reads per Line into an array, readfile reads the entire file
search at www.php.net (function list)
I'm talking about getting it, not functions. I think it's the eregi or ereg