Quote Originally Posted by knxrb
Here's what I use, it's not very secure at all!

1) Code:
  1. <%
  2.      Dim strCaptcha, pChar, pCount
  3.      pChar = "0123456789"
  4.      pCount = Len(pChar)
  5.      Randomize
  6.      For i = 1 To 5
  7.      strNumber = Mid(pChar, 1 + Int(Rnd * pCount), 1 )
  8.      strCaptcha = strCaptcha & strNumber
  9.      response.write("<img src='images/numbers/" & strNumber & ".gif' />")
  10.      Next
  11.      session("captcha")=strCaptcha
  12. %>
With your coding i am getting output like this.
Name:  captcha.bmp
Views: 388
Size:  180.2 KB
How can i fix this?