Go Back > PhpDig Forums > Troubleshooting

Thread Tools
Old 11-27-2007, 07:54 AM   #1
Green Mole
Join Date: Nov 2007
Posts: 1

hey there, having some issues with this captcha image that im dropping on a form. Not getting any errors its just not checking the captcha field when submitted. Below is a snippet. Any in sight into this would be great, im pretty new to PHP so anything helps.


if( isset($_POST['submit'])) {
if(($_SESSION['security_code'] == $_POST['security_code']) && (!empty($_SESSION['security_code'])) ) {
echo 'Thank you.'.$_POST['message'].'"';
} else {
echo 'Sorry, you have provided an invalid security code'.$_POST['message'].'""';
} else {}
defiantdezign is offline   Reply With Quote
Old 12-04-2007, 12:49 AM   #2
Green Mole
Join Date: Nov 2007
Posts: 3
Is the captcha image displayed properly?
__________________ - Get .. Set .. Go .. Hosting.!
Shared, Reseller, Dedicated Hosting, FFMPEG, YouTube Hosting, PHPmotion Hosting, Dolphin

Special Promo Offer FFMPEG HOSTING start your youtube like Video Sharing Site:
infrenion is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

All times are GMT -8. The time now is 09:18 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.