| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/img.g07/excel/ |
Upload File : |
<?php
error_reporting(E_ALL ^ E_NOTICE);
require_once 'excel_reader2.php';
//$data = new Spreadsheet_Excel_Reader("example.xls");
$data = new Spreadsheet_Excel_Reader("result.xls");
?>
<html>
<head>
<!--<style>
table.excel {
border-style:ridge;
border-width:1;
border-collapse:collapse;
font-family:sans-serif;
font-size:12px;
}
table.excel thead th, table.excel tbody th {
background:#CCCCCC;
border-style:ridge;
border-width:1;
text-align: center;
vertical-align:bottom;
}
table.excel tbody th {
text-align:center;
width:20px;
}
table.excel tbody td {
vertical-align:bottom;
}
table.excel tbody td {
padding: 0 3px;
border: 1px solid #EEEEEE;
}
</style>-->
</head>
<body>
<?php echo $data->dump(true,true); ?>
<?php
$rows = $data->rowcount($sheet_index=0);
//$data->colcount($sheet_index=0)
for($i=1; $i<=$rows; $i++) {
echo $data->val($i,1);
}
?>
</body>
</html>