Changeset 628 for trunk/Modules/FinanceBankAPI
- Timestamp:
- Jan 2, 2014, 1:20:35 PM (11 years ago)
- Location:
- trunk/Modules/FinanceBankAPI
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/FinanceBankAPI/FileImport.php
r553 r628 28 28 while($DbRow = $DbResult->fetch_assoc()) 29 29 { 30 echo($DbRow['Id'].',');31 30 if(is_numeric($DbRow['VariableSymbol'])) 32 31 { -
trunk/Modules/FinanceBankAPI/FioAPI.php
r550 r628 31 31 $RequestURL = '/ib_api/rest/periods/'.$this->Token.'/'. 32 32 date('Y-m-d', $TimeFrom).'/'.date('Y-m-d', $TimeTo).'/transactions.'.$this->Format; 33 echo($RequestURL);34 33 $Response = file_get_contents('https://www.fio.cz'.$RequestURL); 35 34 if($Response == FALSE) … … 38 37 } else 39 38 { 40 echo($Response);41 39 if($this->Format == 'gpc') $Response = iconv('windows-1250', $this->Encoding, $Response); 42 40 $Response = explode("\n", $Response); -
trunk/Modules/FinanceBankAPI/ImportFio.php
r551 r628 13 13 $PeriodEnd = time(); 14 14 $Records = $Fio->Import($PeriodStart, $PeriodEnd); 15 print_r($Records);16 //die();17 15 $Output = '<table>'; 18 16 //$Output .= '<tr>';
Note:
See TracChangeset
for help on using the changeset viewer.