Stock Quote Returning Old Data when executed from PHP

I have a php script that executes some YQL, but sometimes that YQL returns data that is a few days old.  I've copied the PHP to other domains that are hosted by same company and the issue is the same on either domain.  However, When I give the PHP script to someone else and they run it off of their domain (hosted somewhere else), they don't have the issue. 

The YQL is http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in%20(%22^IXIC%22,%22INDU%22,%22^GSPC%22,%22^TNX%22)&env=store://datatables.org/alltableswithkeys

I just ran this query from my PHP a few times and got the following results (note that one is from 8/2)...  Why is this happening?

- This one is correct and shows data from today
^IXIC,NASDAQ Composite,2533.55,-22.84,8/5/2011 ^DJI,Dow Jones Industr,11442.30,+58.62,8/5/2011 ^GSPC,S&P 500 INDEX,RTH,1198.98,-1.09,8/5/2011 ^TNX,CBOE Interest Rat,2.558,+0.10,8/5/2011

- This one shows data from 8/2/2011
^IXIC,NASDAQ Composite,2669.24,-75.37,8/2/2011 ^DJI,Dow Jones Industr,11866.62,-265.87,8/2/2011 ^GSPC,S&P 500 INDEX,RTH,1254.05,-32.89,8/2/2011 ^TNX,CBOE Interest Rat,2.624,-0.116,8/2/2011

0 Replies

Recent Posts

in YQL