spreadsheet_excel_writer -- problem using fseek.
| From: | Andrés Felipe Hernández | Date: | Wed, 08 Oct 2003 18:45:17 +0000 |
| Subject: | spreadsheet_excel_writer -- problem using fseek. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-8344@lists.php.net to get a copy of this message | ||
Hi, I am trying to use spread spreadsheet_excel_writer but i am getting the following warning:
Warning: fseek(): supplied argument is not a valid File-Handle resource in
home/virtual/site474/.../OLE/PPS.php on line 154
The thing is the package is not installed by the hosting, so i uploaded the source to the folder
where the script is. It seems like the package tries to write all the content of the excel file to
a temp file, and since this is a shared hosting, the actual path to the temp file might be broken (i
think this have to do with safemode).
So, my question is, does anybody of you knows how could i change the source so that i can point the
temp file to a valid path?... It is very unlikely that the hosting will install the packages for me.
I am still taking a look at the source codes but any help would be greatly appreciated.
Andrés