TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-25-2008, 08:41 AM   #1 (permalink)
The Visitor
 
sharma.9.pooja's Avatar
 
Join Date: Jun 2008
Posts: 4
Thanks: 1
sharma.9.pooja is on a distinguished road
Smile help me with Captcha image

hi all,

i done the full coding but not able to see my captcha image........

help me out please its urjent..

i attached my both file in this message...
please find the attachment.
Attached Files
File Type: php index.php (1.2 KB, 157 views)
File Type: php captcha.php (1,015 Bytes, 165 views)
sharma.9.pooja is offline  
Reply With Quote
Old 06-25-2008, 10:59 AM   #2 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

That actually seems to work perfectly well for me. Have you tried accessing the captcha.php page directly, to see if there are any errors? Perhaps it's a case of not having the GD module installed.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 06-25-2008, 11:29 AM   #3 (permalink)
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

I can confirm that the image create script works for me too, its not giving you any error messages?
Although i haven't fully tested it, i shall do so now.

EDIT: Yep works, make sure that the path to the script is correct, if it is do as Wildhoney suggested and run the script directly and see what it produces.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote
Old 06-25-2008, 11:39 PM   #4 (permalink)
The Contributor
 
Join Date: Apr 2008
Location: Nevada, USA
Posts: 52
Thanks: 10
h0ly lag is on a distinguished road
Default

I hate to be redundant but what they both said is right. I did have to mess with your button to get it to post. I also had to edit the path for the captcha file in your index page. Other than that it works great. I got the "captcha is valid" message too. Here's my updated one.

EDIT: Haha, it seems that no matter what you put inside the box to match the captcha it will give out the same message. "The result code was valid!"
Attached Files
File Type: zip captcha.zip (1.4 KB, 4 views)
__________________
Send a message via AIM to h0ly lag Send a message via MSN to h0ly lag
h0ly lag is offline  
Reply With Quote
Old 06-27-2008, 11:56 AM   #5 (permalink)
The Visitor
 
sharma.9.pooja's Avatar
 
Join Date: Jun 2008
Posts: 4
Thanks: 1
sharma.9.pooja is on a distinguished road
Default

when i run captcha.php directly i recieve this error(HTTP 500 Internal Server Error) please help me now what i have to do now
sharma.9.pooja is offline  
Reply With Quote
Old 06-29-2008, 03:19 AM   #6 (permalink)
The Visitor
 
Join Date: Jun 2008
Posts: 2
Thanks: 0
pradeepsomani is on a distinguished road
Default working code

Quote:
Originally Posted by sharma.9.pooja View Post
hi all,

i done the full coding but not able to see my captcha image........

help me out please its urjent..

i attached my both file in this message...
please find the attachment.

Hi,

There was few errors in your code.
Here I'm attaching working code after removing errors.

Thanks
Attached Files
File Type: php index.php (1.1 KB, 153 views)
File Type: php captcha.php (1,015 Bytes, 168 views)
pradeepsomani is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:29 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design