Captcha Validation |
[eluser]0077[/eluser]
I'm new in CI. It's impressive but I got a lot of trouble. I made a registration form and I put Captcha in it using javascript but I don't know how to validate. I would like to try CI way of making captcha and validating but I don't know where to start. Can anybody teach me?
[eluser]LuckyFella73[/eluser]
First of all welcome to the CI forums! Quote:I would like to try CI way of making captcha and validating but I don’t know where to start.I guess the best place to start is starting to read the CI user guide, especially the sections "Controllers", "Views" and "Models". To solve your problem read the section "Captcha Helper": http://ellislab.com/codeigniter/user-gui...elper.html In case you have problems to implement that code into your project, post your code and we will try to help you.
[eluser]DuncanCox[/eluser]
Hey I also facing the same problem but not getting the solution.I hope somebody help me. I read all the document in the help option on Captcha but still unable to find the solution.
[eluser]LuckyFella73[/eluser]
You can't expect somebody doing the complete coding for you now. But you can post the code you have right now, tell us what error message you get or where the code isn't working like expected. Then we should be able to help you finding a solution.
[eluser]0077[/eluser]
Thanks! I'm new to codeigniter and I only knew few but I'm eager to learn.
[eluser]0077[/eluser]
Hi there, here's my code and it's quite long and complicated so i'll show you the part were captcha validation is needed.. I use secureimage files in my captcha image. but i don't know how to validate. I use the captcha plugins of codeigniter but it destroy my whole code.. hope you can help me. I'm fresh in codeigniter and I wanna learn.
[eluser]LuckyFella73[/eluser]
@ 0077 It's pretty hard to read the code in an email. When posting here you have to escape "<scr+ipt" tags for example. What I see is not a codeigniter approach so I can't really help you with that. All in all it should be possible to use the CI captcha helper without destroying your page. What exaxtly happens when you try to use the CI helper?
[eluser]0077[/eluser]
Actually I got a lot of trouble on how to insert in my code. What I have sent you is just a part because the error occurred when I try to attach my file in posting.
[eluser]0077[/eluser]
@luckyfella73 I would like to thank you for your willingness to help a newbies like me, When I made my program I use codeigniter, but upon validation I use javascript. Jut what I have sent to you... It's pretty to explain when I don't know how to show you my codes.
[eluser]LuckyFella73[/eluser]
That is what you just send to me - now everybody can try to help you But like I mentioned - this is no CI way to use the captcha validation. You allways should validate server-side so I recommend to try it the CI way! Code: <html> |
Welcome Guest, Not a member yet? Register Sign In |