Hide image url for captcha

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

On 25 Mar 2008, at 14:45, dino d. wrote:

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

use send_data

Fred

thanks!

dino

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs