I have used
new SimpleXLSX.class.php;
for reading xlsx file and convert it into the array
the xlsx file does not at the same place where the script is running
however it is working fine on the local ost
but after uploading it to the server I didn't got the file
I used $SERVER["DOCUMENT_ROOT"];
but nothing help that i used getwcd().mailpath
which give the path wher the xlsx file lies on the server
and tested with the
if(file_exists($mail_path)){
echo "exists";
} else {
echo "not exist";
}
it show it exist
but I am unable to create the object with
$xlsx = new SimpleXLSX($mail_path);
the script stops here
the path for the simpleXLSX.class ishere