Re: spreadsheet_excel_writer -- problem using fseek.
| From: | Stefan Neufeind | Date: | Wed, 08 Oct 2003 18:56:42 +0000 |
| Subject: | Re: spreadsheet_excel_writer -- problem using fseek. | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8346@lists.php.net to get a copy of this message | ||
On 8 Oct 2003 at 13:45, Andrés Felipe Hernández wrote:
> 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.
Or could it be that user-rights are a problem for you? Some "crazy"
hosters give you ftpaccess under your username but they run Apache
and all PHP-scripts as wwwrun, which only has read-permissions on
your ftp-directory. But this is mainly a question of the wrong hoster
:-))
Stefan