Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/03/2010, 11:34
vega_012
 
Fecha de Ingreso: noviembre-2008
Ubicación: Lima
Mensajes: 48
Antigüedad: 15 años, 5 meses
Puntos: 2
problema php excel 2007

buenas a todos, tengo el siguiente codigo:

<?php
require_once ('Excel/reader.php');
$data = new Spreadsheet_Excel_Reader();
$data->setOutputEncoding('CP1251');
$data->read("excel2007.xlsx");
error_reporting(E_ALL ^ E_NOTICE);
for ($i = 1; $i <= $data->sheets[0]['numRows']; $i++) {
for ($j = 1; $j <= $data->sheets[0]['numCols']; $j++) {
$arreglo_datos[$i][$j]=utf8_encode($data->sheets[0]['cells'][$i][$j]);
}

}
var_export($arreglo_datos);
?>

al querer leer el archivo me sale el siguiente mensaje:
The filename excel2007.xlsx is not readable

alguien tiene alguna opinion, he visto la la libreria PHPExcel pero no la quiero usar