SharingDOODLES Posted November 27, 2008 Share Posted November 27, 2008 Hello, I was wondering if someone could please help me with the Contact Us - Short Form with Captcha contribution, http://addons.oscommerce.com/info/4960 I have installed it and at first everything seemed fine, however the "security code" isnt showing up in the box with the image, (image is there but no code) I was wondering does anyone know what might be causing this? I have uncommented extension=php_gd2.dll in my php.ini file as it uses the GD libary but it dosent seem to make any differance. any help would be appreciated Paul Quote Link to comment Share on other sites More sharing options...
SharingDOODLES Posted November 27, 2008 Author Share Posted November 27, 2008 update: Does anyone know a good captcha that will work with oscommerce? any help would be appreciated Quote Link to comment Share on other sites More sharing options...
Hotclutch Posted November 27, 2008 Share Posted November 27, 2008 update: Does anyone know a good captcha that will work with oscommerce? any help would be appreciated Search the contribution section for Anti Robot Registration. That will protect contact_us and other files like create_account.php Quote Link to comment Share on other sites More sharing options...
physke Posted January 12, 2009 Share Posted January 12, 2009 In images/captcha.php, try replacing $code = CAP_RC4($captcha_encryption_key, urlsafe_b64decode($HTTP_GET_VARS['code'])); with if ($HTTP_GET_VARS['code']){ $code=$HTTP_GET_VARS['code']; }else{ $code=$_GET['code']; } $code = CAP_RC4($captcha_encryption_key, urlsafe_b64decode($code)); Quote Link to comment Share on other sites More sharing options...
icecool Posted May 4, 2009 Share Posted May 4, 2009 In images/captcha.php, try replacing $code = CAP_RC4($captcha_encryption_key, urlsafe_b64decode($HTTP_GET_VARS['code'])); with if ($HTTP_GET_VARS['code']){ $code=$HTTP_GET_VARS['code']; }else{ $code=$_GET['code']; } $code = CAP_RC4($captcha_encryption_key, urlsafe_b64decode($code)); This code works! Thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.