Re: Fun with Streams

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> wrote:
> I created a stream wrapper around the php_writeexcel library found at
> http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel/
>
> 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
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux