Hi thanks all for the support ....
as i have tried several ways and didn't get the result i am looking for ... so i have changed the the way of reading the file ... their i used php odbc for reading the file
and its worked
as i have tried several ways and didn't get the result i am looking for ... so i have changed the the way of reading the file ... their i used php odbc for reading the file
$excelFile = realpath($full_file_withputh);
$excelDir = dirname($excelFile);
$connection = odbc_connect("Driver={Microsoft Excel Driver (*.xls)};DriverId=790;Dbq=$excelFile;DefaultDir=$excelDir" , '', '');
$result = odbc_exec ($connection, "select * from [sheet$] ");
$row = odbc_fetch_array($result)
it by default takes the first row as Field nameand its worked