This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include('../PHPExcel/PHPExcel/IOFactory.php'); | |
//@param $temp_file path name of file or tmp_name from input file | |
function leerArchivoExcelCsv($temp_file){ | |
$arrayData = array(); | |
$inputFileName = $temp_file; | |
/*check point*/ | |
$inputFileType = PHPExcel_IOFactory::identify($inputFileName); | |
$objReader = PHPExcel_IOFactory::createReader($inputFileType); | |
$objPHPExcel = $objReader->load($inputFileName); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//tmp_name from input file | |
//@param array $tmp | |
//@return array | |
function leercsv($tmp){ | |
$arrayData = array(); | |
if(!($handle = @fopen ($tmp, 'rb'))){ | |
throw new \Exception('Error en la carga del fichero'); | |
}else{ | |
$row = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"php.validate.enable": true, | |
"php.validate.executablePath": "C:\\Users\\Administrador\\AppData\\Local\\Programs\\php\\php7.0.10\\php.exe", | |
"php.validate.run": "onType", | |
"php.executablePath": "C:\\Users\\Administrador\\AppData\\Local\\Programs\\php\\php7.0.10\\php.exe", | |
"window.zoomLevel": -1, | |
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe", | |
"workbench.iconTheme": "Monokai Pro Icons", | |
"workbench.colorTheme": "Dark++" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Uncaught TypeError: Cannot read property 'msie' of undefined */ | |
/* add to jquery to fix */ | |
jQuery.browser = {}; | |
(function () { | |
jQuery.browser.msie = false; | |
jQuery.browser.version = 0; | |
if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) { | |
jQuery.browser.msie = true; | |
jQuery.browser.version = RegExp.$1; | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ini_set("max_execution_time", "-1"); | |
ini_set("memory_limit", "-1"); | |
ignore_user_abort(true); | |
set_time_limit(0); |
OlderNewer