| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2003-06-30 11:44 UTC] wez@php.net
  [2003-06-30 11:50 UTC] gfraley5 at earthlink dot net
  [2003-06-30 12:20 UTC] wez@php.net
  [2003-06-30 12:26 UTC] gfraley5 at earthlink dot net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 11:00:01 2025 UTC | 
Description: ------------ This code works perfectly on v4.3.1 and prior. It no loner works on 4.3.2 nor on 4.3.3RC1. I am using Apache 2.0.46. <? $getNews = fopen("http://finance.yahoo.com/q?s=FON&d=t", "r"); $readNews = fread($getNews, 32767); fclose($getNews); echo "<table><tr><td align=\"center\">"; if (strpos($readNews,'New research reports for')!=FALSE) { list($FirstSplit1,$FirstSplit2)= split ("New research reports for", $readNews); list($SecondSplit1,$SecondSplit2)= split ("</a></font></td></tr></table>", $FirstSplit2); list($stockNews,$ThirdSplit2)= split ("<p><b><font face=arial size=-1>All headlines for:", $SecondSplit2); } $stockNews = str_replace("href=","target=\"_new\" href=",$stockNews); echo "<font size=\"1\"><b>Financial News For FON</b><br>$stockNews</font></td></tr></table></table>"; ?> Expected result: ---------------- Under 4.3.1 and prior: Financial News For FON Mon 6:15am FON Sprint, Sony, AOL in Mobile Content Distribution Pact - Dow Jones Business News Mon 6:01am FON Sprint and Warner Music Group Expand Relationship to Offer Customers America's First Full-Length Streamed Music Tracks in the Palm of Their Hands - PR Newswire Mon 6:01am FON Sprint Inks Deal With Clark County of Nevada for Sprint Ethernet Services(SM) - PR Newswire Mon 6:01am FON TriWest Healthcare Alliance Selects Sprint to Help Deliver Access To Healthcare Services for Military Personnel in 16 States - PR Newswire Mon 6:00am FON Sprint and Sony Music Entertainment Announce Broad Strategic Partnership To Distribute Mobile Entertainment Content - PR Newswire Mon 6:00am FON Hear It on Your Phone First: Sprint Launches the PCS Vision Music Channel, A One-Stop Source for Access to Wireless Music - PR Newswire Fri Jun 27 FON Sprint PCS Inks Streaming Music Deal With Sony, AOL -CNN - Dow Jones Business News Fri Jun 27 FON Sprint Employees Tackle Hunger for Harvesters - PR Newswire Thu Jun 26 FON Sprint Files To Sell 679,100 Earthlink Common Shares - Dow Jones Business News Thu Jun 26 FON KPMG sued by employee over tax shelter work - Reuters Actual result: -------------- Under 4.3.2 and 4.3.3rc1 Financial News For FON