Re: [PHP-DEV] Re: swf_openfile & stdout From: Sterling Hughes (sterling <email protected>)
Date: 08/15/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 for your report, this is now fixed in CVS.

For this to work with stdout, you must supply the following as the first
argument to swf_openfile():

"php://stdout"

-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>