FOREX TRADERS SITE

NEWS

"._NG_HDR.""; CloseTable(); echo "
"; OpenTable(); // Location of the news feeding site $url = 'http://forextrade.ucoz.de/index/news/0-11'; // Unique HTML code to begin grabbing from $unique_start = 'Breaking News
'; // Unique HTML code to end grabbing from $unique_end = ''; // Virtual path of news, lycos uses /news/, Yahoo! uses /s/ $link_match = 'href="/news/'; $link_replace = "href=\"$url/news/"; ini_set('max_execution_time', '0'); flush(); $fd = @fread(fopen("$url", "r"), 100000); if ($fd) { $start = strpos($fd, "$unique_start"); $finish = strpos($fd, "$unique_end"); $length = $finish-$start; $code = substr($fd, $start, $length); $newcode = str_replace($link_match, $link_replace, $code); echo $newcode; flush (); } CloseTable(); include("footer.php"); ?> ectory. 2. Edit index.php and edit the following variables: $url (Location of the news feeding site) $unique_start (Unique HTML code to begin grabbing from) $unique_end (Unique HTML code to end grabbing from) $link_match (Virtual path of news, lycos uses /news/, Yahoo! uses /s/)

Login form

Search

Calendar

«  November 2024  »
SuMoTuWeThFrSa
     12
3456789
10111213141516
17181920212223
24252627282930

Our poll

Rate my site
Total of answers: 5

Statistics


Total online: 1
Guests: 1
Users: 0