Extract a website's CAPTCHA and show it in a pop up

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Sarah07
Forum Newbie
Posts: 1
Joined: Wed Jul 06, 2011 9:28 am

Extract a website's CAPTCHA and show it in a pop up

Post by Sarah07 »

Friends,

I am developing an application for automating certain web related tasks. The problem arises where the CAPTCHA part comes.

I am NOT looking for a solution to solve the captcha melodramatically because that is not what I want to do. What I am trying to achieve is...

Assume that there is a website http://domain.com with a CAPTCHA in it.

I am using php + cURL to post the form that is there in that site but before I post the data, I want to solve the CAPTCHA manually. So, is there a way I can extract that captcha and display it in a pop up (as a part of my application).. then I can manually enter the value for the CAPTCHA in my pop up and on click Submit or OK button of my pop up, the data will be posted to the site along with the captcha.

Is there any way to achieve this in PHP?

PS: I have tried this using a scripting add-on called iMacros and it was simple to do it there using the syntax

Code: Select all

PROMPT Please<SP>enter<SP>Captcha: !VAR1 
Post Reply