07-25-2009, 09:48 AM
|
#4 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
Quote:
Originally Posted by superthin
What is xlsfile:// ?
|
It is a custom stream wrapper written by the author of that class.
Quote:
Originally Posted by superthin
I cannot find example.xls in any folder on my PC. If I change xlsfile://tmp/example.xls into absolute path like xlsfile://C:/temp/example.xls or any another, an error
|
It should be at C:/tmp/example.xls. The other paths fail because they are not available to be written to. The class is silly in that all paths are converted into absolute ones from the root of the main drive of the machine, not relative to the script.
It would be advisable to fix the class to work as expected; relative to the current working directory unless an absolute, full path is specified. It is also advisable to turn your error reporting to the most aggressive setting during development: like error_reporting(E_ALL | E_STRICT).
|
|
|
|