Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: swf_openfile - Manual
[go: Go Back, main page]

PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<swf_onconditionswf_ortho2" width="11" height="7"/>
view the version of this page
Last updated: Sun, 13 Mar 2005

swf_openfile

(PHP 4 )

swf_openfile -- Open a new Shockwave Flash file

Description

void swf_openfile ( string filename, float width, float height, float framerate, float r, float g, float b )

The swf_openfile() function opens a new file named filename with a width of width and a height of height a frame rate of framerate and background with a red color of r a green color of g and a blue color of b.

The swf_openfile() must be the first function you call, otherwise your script will cause a segfault. If you want to send your output to the screen make the filename: "php://stdout" (support for this is in 4.0.1 and up).



add a note add a note User Contributed Notes
swf_openfile
dgw at q-logic dot org
26-Oct-2000 12:21
Im running PHP 4.0.3pl1 as an Apache module and it works great (SuSE 6.4).
manu_killer at poczta dot onet dot pl
20-Jul-2000 05:10
Maybe "php://stdout" doesn't exists when you use PHP as an Apache module ?
In case of using it with standalone PHP it may work.

<swf_onconditionswf_ortho2" width="11" height="7"/>
 Last updated: Sun, 13 Mar 2005
show source | credits | sitemap | contact | advertising | mirror sites 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This mirror generously provided by: HappySize, Inc.
Last updated: Wed Feb 23 18:30:07 2005 JST