SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Feb 2006
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    About Ruby CGI And RMagick

    Hello...
    My english is very poor...
    But i hope you could read my mean ...

    First, I want to use a ruby to write a simple CGI program..
    but, i use a RMagick to create a image for "Image Verification" ..

    um..i can use a callimage.rb show the image code..
    but i don't know how to display image type ...

    please see the Attach File...
    please help me ... thanks a lot ...
    Attached Files Attached Files

  2. #2
    SitePoint Guru
    Join Date
    Aug 2005
    Posts
    986
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I haven't read your code, but you can use cgi.header("your-image-type") to send the content type header to the browser.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •