Page 13 of 60 FirstFirst ... 3111213141523 ... LastLast
Results 121 to 130 of 593
  1. #121
    Join Date
    Aug 2006
    Posts
    254
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    Woody!,
    Sending you a message as well to make sure you take notice as this might be the solution.

    In frustration I started to read this whole thread yet again and came across a post by babygekko.

    First post about "glob" didn't work for me but in trying combinations I got it to work (at least more than once, time and continued tests will tell if I'm truly ready to go) on my end.

    All I did was:
    "...I also had to delete the ob_start() and ob_end_clean() from captcha_img.php. Things work out perfectly right after that." - thanks babygekko!

    Give it a shot!

  2. #122
    Join Date
    Aug 2006
    Posts
    254
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    Sorry dude, in my excitement I didn't read the next post which was yours, looks like you tried that already.

    Hopefully this will help others, mine now appears to work even with additional drop down subject line for contact_us page.

  3. #123
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by Jeffey View Post
    Sorry dude, in my excitement I didn't read the next post which was yours, looks like you tried that already.

    Hopefully this will help others, mine now appears to work even with additional drop down subject line for contact_us page.
    Hey jeffey,

    Thanks for the follow-up and the PM. Well I tried the suggestion again and it indeed works on the test version:

    Code:
    <?php
    /**
     * @version $Id: captcha_img.php v 2.5 23.03.2007 13:11 AndrewBerezin $
     */
    
    // ob_start();
    require('includes/application_top.php');
    // ob_end_clean();
    
    require(DIR_WS_CLASSES . 'captcha.php');
    $captcha = new captcha();
    
    $captcha->generateCaptcha();
    ?>
    I may be wrong but I had understood Andrew repaired this issue in latest mod version and stated that ob_start() and ob_end_clean() were required for security reasons?

    Andrew, is this the case? Or is it ok to comment out those two functions?

    What's strange to me is that on one account the test version WITHOUT the two lines having commented out, displays the captcha image. But on another account on the exact same host machine, the image will not display without the the two lines above commented out.

    I did a google search on "ob_start php" and see lots of issues posted.

    Ideas anyone?

    Woody

  4. #124
    Join Date
    Aug 2006
    Posts
    254
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    $#*##&$***!

    I have the same information in my copy (with two pieces I took out missing of course) so it looks like the most recent version.

    What is the nature of the security risk?

    Everything is working now and I haven't found another mentioned workaround after this was posted by babygekko.

    Gotta be better than nothing and given no help has surfaced with all of our posts I think I will be forced to us this as is. Don't know what else to do, it's either that or trash the project.

  5. #125
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Captcha using TTF & GD


  6. #126
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by Jeffey View Post
    What is the nature of the security risk?
    I may have misspoke and Andrew has not commented regards to the real need for:

    ob_start();
    - AND -
    ob_end_clean();

    In the mean time I also have commented out those two lines and the captcha image is now displaying where it did not before. But don't ask me why as I'm no PHP guru.

    Maybe Andrew can fill us in on the purpose/need of those two lines, within the context of the operation of his mod and why those two entries might cause the captcha image to not display.

    I'm still trying to wrap my head around application_top.

    Thanks again to Andrew for supplying this mod.

    Woody

  7. #127
    Join Date
    Aug 2006
    Posts
    254
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    Second the thanks to Andrew! Despite this hiccup the mod is a great one.

    As to a_berezin's comment, thanks. Problem is that the old mod just doesn't provide as much coverage as this mod in addition to making it more readable which, at least for me, has always been my biggest complaint with this feature on any site. Plus, I removed it once, it ain't going back!

    Hopefully your mistaken Woody and/or Andrew will pick this up and let us know the potential implications or a slight modification.

    Until I hear otherwise I'm following suit with Woody and running without those two lines.

    Thanks again to Woody for noodling this through with me and everyone else for the contributions to the thread which eventually lead me to my "solution".

  8. #128
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Captcha using TTF & GD

    I regret, but I have lost interest to this.

  9. #129
    Join Date
    Aug 2006
    Posts
    254
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    I hope you've only lost interest in us (who would blame you?) and not the mod!!

  10. #130
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Captcha using TTF & GD

    Not in you. In this and other mods.

    This mod you can download from DL-area.

    P.S. I think it is not necessary to discuss it

 

 
Page 13 of 60 FirstFirst ... 3111213141523 ... LastLast

Similar Threads

  1. Replies: 68
    Last Post: 29 Jul 2013, 06:33 PM
  2. CAPTCHA using TTF & GD - not working
    By derrr99 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 13 Dec 2010, 04:05 PM
  3. Replies: 13
    Last Post: 2 Jun 2008, 03:29 PM
  4. Captcha using TTF & GD & Tel Not Required (how do I Avoid Overwrites?)
    By CelticKatt in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 8 Apr 2008, 04:18 AM
  5. Can CAPTCHA Using TTF & GD be installed in check out?
    By Lainee in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 8 May 2007, 04:53 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR