Changeset 505

Show
Ignore:
Timestamp:
01/11/08 17:24:55 (1 year ago)
Author:
stavros
Message:

UPDATE: '301 Moved Permanently' Yahoo have changed the URL for the currencies CSV download

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.3/A2Billing_AGI/libs_a2billing/crontjob/currencies_update_yahoo.php

    r1 r505  
    4545 
    4646// get in a csv file USD to EUR and USD to CAD 
    47 // http://finance.yahoo.com/d/quotes.csv?s=USDEUR=X+USDCAD=X&f=l1 
     47// http://download.finance.yahoo.com/d/quotes.csv?s=USDEUR=X+USDCAD=X&f=l1 
    4848 
    4949 
     
    6666$result = $A2B -> instance_table -> SQLExec ($A2B->DBHandle, $QUERY); 
    6767         
    68 $url = "http://finance.yahoo.com/d/quotes.csv?s="; 
     68$url = "http://download.finance.yahoo.com/d/quotes.csv?s="; 
    6969 
    7070/* result[index_result][field] */ 
  • branches/1.3/A2Billing_UI/Public/A2B_currencies.php

    r1 r505  
    2828        $result = $A2B -> instance_table -> SQLExec ($A2B->DBHandle, $QUERY); 
    2929                 
    30         $url = "http://finance.yahoo.com/d/quotes.csv?s="; 
     30        $url = "http://download.finance.yahoo.com/d/quotes.csv?s="; 
    3131         
    3232        /* result[index_result][field] */ 


Google