[PHP-DEV] Re: swf_openfile & stdout From: Diego Perini (diego <email protected>)
Date: 07/31/00

Sterling,
   sorry to bother you again but the SWF still
does not work as it should... I mean writing
to "stdout" is still not working.

I downloaded the latest PHP from the CVS as
suggested by "waldschrott" in his e-mail but
I still get the same problem opening "stdout"
to output the SWF directly the browser.

FYI, I could not compile the latest
CVS if I include one of the following:

   --with-db2
   --with-db3
   --with-gettext

leaving this out, I could get it compiled and working.

I tried "/dev/stdout", "STDOUT", and "php://stdout"
all methods give the same problems SEG FAULT 11...

As you said the problem lay in the "libswf.a"
library, so I hope the maintainer get this
info and hope he can help out with this...

Thank you again for your precious help/support,
sincerely,

Diego Perini
(NWBOX S.r.l.)
 

Quoting Sterling Hughes <sterling <email protected>>:

> I saw your bug, and I'm currently working on a fix
(its a libswf bug
> actually, but PHP is effected), however, if you need
to send output to
> stdout for now you can do the following:
>
>
> <?php
> swf_openfile("filename", ...);
> swf_closefile();
>
> readfile("filename");
> ?>
>
> -Sterling
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>