title: to check for captcha code on the same page in php
body: <p>I am inputting from user in a form which on submit calls a javascript function and checks if compulsory entries are filled or not.if so,it goes to another file.right now i am checking this captcha code in that another file.how can i do so on the same page?
  thank you in advance!</p>