Jump to content

wrong in bring by rss this code


moshxsoft

Recommended Posts

hello

wrong in bring by rss this code

this code to bring last program from rss from softpedia but wrong in link is the same in all program

 

 

<?php
$topic=file_get_contents('http://www.softpedia.com/backend.xml');



while( $count=strpos($topic,'href="http://www.softpedia.com/get',$count+1))
{


$take=strstr($topic,'href="http://www.softpedia.com/get');
$count1=strpos($take,'.shtml');





$title=substr($take,+6,$count1);

echo $title.'<br />';
}



?>

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.