What is the best way to create an Excel file and then inform the user?
I am using a PHPExcel to generate an Axle file from a MSSQL server on the webserver and using a link to a user Allows to download The problem is that whenever we try to execute PHP scripts, it always throws a fast-cc timeout error , the script will have to read data from 2000 to 5000 lines.
We tried to execute it by using a command prompt using exec ()
and shell. It successfully generates the file in the server, but we do not have a method / method to inform the user after the script has been completed.
exec ()
should return the result of running an external program - Can not you use it? You can move the generated file to a directory that is accessible to the user and give it URL in the file.
Comments
Post a Comment