I'm trying to build a page that has a captcha and allows for a file upload.
Currently when I select a file, fill in the captcha and hit submit the file is uploaded to the server in a temp directory before checking the captcha. I need the captcha checked first before the file is uploaded.
Is there a way to spoof the browse box so that I can get the path for the file and use it on a secondary page that automatically uploads the file if the captcha is entered correctly and then takes the user to a confirmation page?
Any help would be greatly appreciated. :)