Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
fast passing data through to the browser (swf
d c
10/31/2006 3:35:00 AM
hi -
I need to pass a user a chunk of swf (flash) data: ie a full-flash page.
without using a redirect, is there a quick way to read a file and send
as a chunk of binary data back to the browser? PHP had some type of
"pass-through" function.
otherwise i guess i have file open, read as a string, and then use ..
? to write as a buffered output to the browser?
tx,
/dc
-------------------------------------------
David "DC" Collier
mailto:dc@pikkle.com
+81 (0)80 6521 9559
skype: callto://d3ntaku
-------------------------------------------
Pikkle ????
http://www....
-------------------------------------------
1 Answer
Zev Blut
10/31/2006 8:08:00 AM
0
Hello David,
On Tue, 31 Oct 2006 12:34:56 +0900, dc <lister@pikkle.com> wrote:
> I need to pass a user a chunk of swf (flash) data: ie a full-flash page.
> without using a redirect, is there a quick way to read a file and send
> as a chunk of binary data back to the browser? PHP had some type of
> "pass-through" function.
>
> otherwise i guess i have file open, read as a string, and then use ..
> ? to write as a buffered output to the browser?
There are a few solutions, but it depends upon your environment.
Are you using plain Rails, Ruby CGI, mod_ruby, Apache, Lighttpd?
Here are few links that might help:
http://wiki.rubyonrails.org/rails/pages/HowtoSen...
http://blog.lighttpd.net/articles/2006/07/02/...
http://blog.segment7.net/articles/2006/03/27/image-serving-wi...
http://rubyonrails.org/api/classes/ActionController/Stre...
Best,
Zev
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
fast passing data through to the browser (swf
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password