Ok, here is the problem. I have a client that has a news page that they have been using for who knows how long :rolleyes: any why they want to have a little java news ticker, no problem, so we set up the ticker, well we have to grab the headlines off of the news page to stick into the ticker. Here lies the problem, the news page is some kinda xml/html/FP blend that I have never seen before. Well no matter what I try I keep getting some of the garbage that is on the page when I try to parse the headlines out. So I tried to just see if I could get rid of the html :eek: no dice, still has the other code. http://www.nettech-computers.com/news/news.html. that is the page that I am trying to parse, I have tried everything that I can think of to make it work. the latest thing that I used(just to see If I could get rid of the html):
$text = array("The News Is Now!");
$page = "http://localhost/news.html";
$fp = fopen( $page, "r" ) or die("couldn't open $page");
while ( ! feof( $fp ))
$text[] = fgets( $fp, 1024 );
foreach($text as $key => $value)
{
print $value;
}
They wont even let me change the news page, Please give me some advice(a soulition would be nice to 😉
Thanks in advance
Mike