CAPCHA Img Not work, Text based =wrong answer

Dr. GBooky is here to help you with your guestbook problems ...
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by Klemen »

If the same files works on one page but not on the other then the problem isn't the file :wink:
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
rarmy
Posts: 19
Joined: Sat Mar 17, 2012 9:58 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by rarmy »

Klemen wrote:If the same files works on one page but not on the other then the problem isn't the file :wink:
Yep, after adding the mods, now all three work with text based captcha, but none work with image...Oh, Well...it works...thanks now have three set for diff areas, and all working good...love this program.
Roy "Boomer" Army
My Home Site
rarmy
Posts: 19
Joined: Sat Mar 17, 2012 9:58 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by rarmy »

rarmy wrote:
Klemen wrote:If the same files works on one page but not on the other then the problem isn't the file :wink:
Yep, after adding the mods, now all three work with text based captcha, but none work with image...Oh, Well...it works...thanks now have three set for diff areas, and all working good...love this program.
WooHoo...Major Update...

found problem with captcha image --> print_sec_img.php had trailing spaces behind the php end "?>" tag. Deleted spaces, saved UTF-8 without BOM, and now all three show the image...that file never touched, was fresh upload... just sayin"... :lol:
Roy "Boomer" Army
My Home Site
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by Klemen »

Strange, could be an issue with Windows "\r\n" thingy.

For what it's worth, I removed closing "?>" from the print_sec_img.php now so it shouldn't cause problems anymore, thanks for the heads up!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply