RE: [PEAR] Question on the PEAR package Excel_writer
| From: | Mark Withington | Date: | Thu, 16 Feb 2006 03:06:17 +0000 |
| Subject: | RE: [PEAR] Question on the PEAR package Excel_writer | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-23000@lists.php.net to get a copy of this message | ||
Not sure if this is related or not. I write my file to the server, and then
stream it to the browser.
--------------------------
Mark L. Withington
PLMresearch
"eBusiness for the Midsize Enterprise"
PO Box 1354
Plymouth, MA 02362
o: 800-310-3992 ext. 704
f: 508-746-4973
v: 508-746-2383
m: 508-801-0181
http://www.PLMresearch.com
AIM/MSN/Skype: PLMresearch
Yahoo: PLMresearch2000
mwithington@plmresearch.com
Public Key: http://www.plmresearch.com/keys/MLW_public_key.asc
Calendar: http://www.plmresearch.com/calendar.php
> -----Original Message-----
> From: Jeremy Wilkins [mailto:jeremy@ibexinternet.co.uk]
> Sent: Wednesday, February 15, 2006 8:37 AM
> To: Bea van der Zwaag - eircom
> Cc: pear-general@lists.php.net
> Subject: Re: [PEAR] Question on the PEAR package Excel_writer
>
>
> Hi Bea,
>
> I must admit I don't know much about Excel_writer. Are the paths to
> the location of the bitmap files different on the server? Are you
> using backslashes instead of forward slashes? Can the webserver read
> the bitmap files you've listed (ie are the file permissions correct)?
>
> Jebw
>
> On 15 Feb 2006, at 13:10, Bea van der Zwaag - eircom wrote:
>
> > Hi,
> >
> > I have created a program that uses the PEAR package Excel
> writer. Its
> > functionality is to write out some header titles, etc. then
> extract
> > and
> > write data from a MySQL database. In addition I insert a number of
> > bitmap
> > images (24bit). The program runs fine on my own server (Windows
> > Apache PHP
> > 4.22).
> >
> > However, when I upload this to my host server (Linix, Apache, PHP
> > 4.3.11)
> > the spreadsheet is not generated, but the following error message is
> > displayed:
> >
> > xxx.bmp doesn't appear to be a valid bitmap image.
> >
> > When removing all the insert_bitmap statements, the program runs
> > fine on the
> > host server. BTW, the images are 24bit bmp files. I have added the
> > MIME type
> > bmp thru the cPanel of my host company. I am able to view the
> > same .bmp
> > images I am using in the spreadsheet in a simple .html file.
> >
> > I have posted this question on various forums, but have not
> > received an
> > answer to my question that will make the program work. I would be
> > grateful
> > for any help offered.
> >
> > Thanks in advance.
> >
> > Regards
> >
> > Bea
>
> ---
> Jeremy Wilkins
> Ibex Internet Ltd
>
> Parkside Business Park
> Parkside Rd.
> Kendal
> Cumbria
> LA9 7EN
>
> Tel: 0845 226 8342
> Fax: 08718 729374
>
> http://www.ibexinternet.co.uk/
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>