Re: swf_openfile & stdout
| From: | Diego Perini | Date: | Tue, 01 Aug 2000 03:39:15 +0000 |
| Subject: | Re: swf_openfile & stdout | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-27221@lists.php.net to get a copy of this message | ||
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@designmultimedia.com>:
> 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
>