Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Re: Do I need a setuid script ?

by fsn (Friar)
on Apr 09, 2002 at 17:39 UTC ( [id://157797]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Do I need a setuid script ?
in thread Do I need a setuid script ?

The short answer is that, yes, you just print to the browser. You must begin with a correct Content-type-header, then two linefeeds and then you print the SWF data to the browser.

Something like


print "Content-type: application/x-shockwave-flash\n\n";
print $SWFdata;

would suffice as a really simple SWF-on-the-fly-generation-CGI- script. You get the picture.

The part where you generate $SWFdata is obviously the non-trivial part, but you seem to have solved that already. If I remember correctly, there is a SWF-creation module that's perhaps worth checking out.

  • Comment on Re: Re: Re: Do I need a setuid script ?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://157797]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-26 04:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found