Hi- I''m fooling around with a picture based captcha. I want to hide the url of an image by doing something like: <img src = "http://myserver,com?image=JHJHK" So I want to send a request that uses a hash. That''s the easy part. How do I generate an image stream on the server using ROR? In other words, I don''t want to return the filename, I want to return an image stream that is loaded from an image file in a secret database. Thanks for any help, Dino --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 25 Mar 2008, at 14:45, dino d. wrote:> > Hi- > > I''m fooling around with a picture based captcha. I want to hide the > url of an image by doing something like: > > <img src = "http://myserver,com?image=JHJHK" > > So I want to send a request that uses a hash. That''s the easy part. > How do I generate an image stream on the server using ROR? In other > words, I don''t want to return the filename, I want to return an image > stream that is loaded from an image file in a secret database.use send_data Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> use send_data > > Fredthanks! dino --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---