I am trying to use your class write_excel and have not been able to change the name of the file that the class outputs.
It allways write to a file named $filename .
I have been using your test.php file included and changed line 6 o read $filename = 'MyFile' to no avail.
Also I changed line 19 to read $workbook = new Workbook( 'MyFile' ); that didn't work either.
So far your class is amazing but I need to be able to control the name of the output file, also the location for the output file.
Many people will be using this feature but the name of the file CAN NOT be the same for security reasons and also ¿What happens if two or more request occurs in the expanse time in which the script is running? ONE NAME for all, can't be.