Hello i am using phpexcel reader to read xlsx content on my server IE go-daddy. I tried the very attached code locally and its working very fine. But on server its showing blank output with no errors.
set_include_path(get_include_path() . PATH_SEPARATOR . 'Classes/');
require 'PHPExcel/IOFactory.php';
$inputFileName = "1479736652Students_Add.xlsx";
$objPHPExcel = PHPExcel_IOFactory::load($inputFileName);
$sheetData = $objPHPExcel->getActiveSheet()->toArray(null,true,true,true);
print_r($sheetData);
for($i=2;$i<=count($sheetData);$i++){
$name = $sheetData[$i]["A"];
$email = strtolower($sheetData[$i]["B"]);
$phone = $sheetData[$i]["C"];
$class = $sheetData[$i]["D"];
}
I have googled a lot and am confused why such thing is happening. Any help is deeply appreciated.Thank you in advance.