Re: Fun with Streams
| From: | Rene Veerman | Date: | Mon, 22 Feb 2010 09:14:34 +0000 |
| Subject: | Re: Fun with Streams | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302250@lists.php.net to get a copy of this message | ||
just curious, why did you choose to use it from behind a stream wrapper?
and sry, i have no exp with these beasts..
On Sun, Feb 21, 2010 at 11:03 PM, Matt Neimeyer <matt@neimeyer.org> wrote:
> I created a stream wrapper around the php_writeexcel library found at
> http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel/öq¡û+ø`
> s! Ù±f/
>
> My code can be seen at http://www.pastebin.com/m7212eaa2
>
> I'm trying to add an option that will allow us to lower or uppercase
> the column headers we create by calling ftell on the Excel stream but
> when I do something like...
>
> Â $xls = fopen("xlsfile://../data/measurables.xls","wb"); echo
> ftell($xls);
>
> ...I get 0 returned even though I've hard coded a return of 123 in my
> stream_tell function (which I did to see if my stream_tell was even
> being called).
>
> Can anyone tell me what I'm doing wrong or suggest another way to
> "communicate" into the stream wrapper that will be compatible with PHP
> 4 and 5 on OSX, Linux and Windows?
>
> Thanks
>
> Matt
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>