I am using PHP Excel library. I want to show a error message to the user when user uploads an empty file for reading. I google'd for it but couldn't get relevant answer.
When a new excel file is created it has a default filesize of 9KB in windows. I cannot use filesize() to check for emptyness as suggested by some of the post here.
Is there any way using PHP Excel to check if the file is empty and return error message??