reCapatcha

This is a discussion on "reCapatcha" within the PHP Forum section. This forum, and the thread "reCapatcha are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 2nd, 2007, 16:47
Up'n'Coming Member
Join Date: Mar 2007
Location: West Sussex UK
Age: 76
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
reCapatcha

Can anyone pleae give me a steer as to where I can get the reCAPATCHA code to insert in my Dreamweaver8 web form? Someone in the States keeps sending me requests for holiday brochures but fills up the text areas with a load of filthy advertisements, must be a weirdo with nothing better to do. I want to stry and stop him doing this.

Help please..
Reply With Quote

  #2 (permalink)  
Old Nov 2nd, 2007, 16:58
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: reCapatcha

Well for starters this should be in the PHP section.
Are you using PHP?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #3 (permalink)  
Old Nov 2nd, 2007, 19:07
Up'n'Coming Member
Join Date: Mar 2007
Location: West Sussex UK
Age: 76
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Re: reCapatcha

I am using Dreamweaver8, whether I am using PHP I am sorry to say, I have no idea, I built the site using the Dreamweaver8 manual and it works fine except for this nuisance who keeps hijacking it to publicise his.her rubbish.

Maybe you can tell me www.frenchcanalcrusisingholidays.co.uk
Reply With Quote
  #4 (permalink)  
Old Nov 2nd, 2007, 19:36
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: reCapatcha

I get server not found error visiting that URL.
Did you type it wrong?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #5 (permalink)  
Old Nov 2nd, 2007, 19:41
AdRock's Avatar
SuperMember

SuperMember
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to AdRock
Re: reCapatcha

Ask the host if you have php installed.

Failing that create a file called phpinfo.php with this code and chuck it in the hone directory and display the page. It will tell you if you have php installed and if you have the GD library installed also which you need to generate capthcas

PHP: Select all

<?php
   phpinfo
();
?>
Reply With Quote
  #6 (permalink)  
Old Nov 2nd, 2007, 19:50
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: reCapatcha

Assuming this is the site
http://www.frenchcanalcruisingholidays.co.uk/

Where is the problem? or where do you want captcha?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #7 (permalink)  
Old Nov 2nd, 2007, 19:59
Up'n'Coming Member
Join Date: Mar 2007
Location: West Sussex UK
Age: 76
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Re: reCapatcha

Re: reCapatcha
Ask the host if you have php installed.

Failing that create a file called phpinfo.php with this code and chuck it in the hone directory and display the page. It will tell you if you have php installed and if you have the GD library installed also which you need to generate capthcas

Thanks guys, firstly I have just checked the web site www.frenchcanalcruisingholidays.co.uk/page8.html and it is working fine and that's where I want to put the reCAPATCHA to try to stop this chap.girl doing what she/he is doing. it's a price list and brochure request form as you will see.

Alex,
when you say crate a file and chuck in it n the hone directory, what exactly do you mean, sorry but I am a learner as far as all this is concerned, never tried anything like this before so words of one sylable or less will be helpful...
Reply With Quote
  #8 (permalink)  
Old Nov 2nd, 2007, 20:19
SuperMember

SuperMember
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: reCapatcha

Hi Ron

Firstly PHP is a scipting language which is what you will need to use to stop these messages being submitted, they are submitted electronically because you have no security on your form. I am sure we will be able to get you there.
Reply With Quote
  #9 (permalink)  
Old Nov 2nd, 2007, 21:47
AdRock's Avatar
SuperMember

SuperMember
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to AdRock
Re: reCapatcha

Quote:
Originally Posted by ronb View Post
Re: reCapatcha
Thanks guys, firstly I have just checked the web site www.frenchcanalcruisingholidays.co.uk/page8.html and it is working fine and that's where I want to put the reCAPATCHA to try to stop this chap.girl doing what she/he is doing. it's a price list and brochure request form as you will see.

when you say crate a file and chuck in it n the hone directory, what exactly do you mean, sorry but I am a learner as far as all this is concerned, never tried anything like this before so words of one sylable or less will be helpful...
I have just tried the url again and the site is down.

what you need to do is create a php file with the code above and upload it to the server where your website is hosted and locate the page http://www.frenchcanalcruisingholidays.co.uk/phpinfo.php

I have done captcha so can tell you how to include it in your form
Reply With Quote
  #10 (permalink)  
Old Nov 5th, 2007, 07:00
Up'n'Coming Member
Join Date: Mar 2007
Location: West Sussex UK
Age: 76
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Re: reCapatcha

AdRock et al,

Thanks guys, I will edfinitely need all the helop I can get. Sorry I haven't replied before but my ISP has been down all week-end, only just back this morning.

AdRock, you siad for me to create a file with the code above and upload it to the server however, I can't see any code, is it hidden or did you forget to add it please??

"what you need to do is create a php file with the code above and upload it to the server where your website is hosted and locate the page <A href="http://www.frenchcanalcruisingholidays.co.uk/" target=_blank rel=nofollow>http://www.frenchcanalcruisingholidays.co.uk/phpinfo.php
Reply With Quote
  #11 (permalink)  
Old Nov 5th, 2007, 08:29
AdRock's Avatar
SuperMember

SuperMember
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to AdRock
Re: reCapatcha

Sometimes it does that

<?php
phpinfo
();
?>

Put that in a file calle phpinfo.php and upload it to the root directory where yuour home page is and locate the page. If you see loads of text (in a purple and grey table) you know php is installed.

If you have php installed on your server i'll send you the code to create the captcha
Reply With Quote
  #12 (permalink)  
Old Nov 5th, 2007, 08:35
Up'n'Coming Member
Join Date: Mar 2007
Location: West Sussex UK
Age: 76
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Re: reCapatcha

OK, I built the file and posted on my ISP server and also phoned them. They do have PHP and have turned the facility on for my web sites so it seems I am ready for the next step.

I do appreciate your help, thanks very much.
Reply With Quote
  #13 (permalink)  
Old Nov 5th, 2007, 09:03
AdRock's Avatar
SuperMember

SuperMember
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to AdRock
Re: reCapatcha

Did you see the file info? The table with details about the php conguration?

If you have and you can see it, go half way down the page and see if you can see a table called gd and the first row should say GD Support Enabled

If you can see that , can you send the form code where you want the captcha image on and i'll put it in?
Reply With Quote
  #14 (permalink)  
Old Nov 5th, 2007, 13:18
Up'n'Coming Member
Join Date: Mar 2007
Location: West Sussex UK
Age: 76
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Re: reCapatcha

AdRock,

Sorry about this but I am confused. I know PHO is turned on for my site but what I don't understand is where I put this

<?php
phpinfo
();
?>

I have a test folder www.frenchcanalcruisingholidays.co.uk/test/capatcha in which I placed that bit of code but nothing appeared on the screen only A href="http://www.frenchcanalcruisingholidays.co.uk/" target=_blank rel=nofollow>http://www.frenchcanalcruisingholidays.co.uk/phpinfo.php which is what you asked me to put there before. Can you explain exactly what it is I have to do please? Sorry to be a nuisance but I am lost at the moment.
Reply With Quote
  #15 (permalink)  
Old Nov 5th, 2007, 14:41
Up'n'Coming Member
Join Date: Jun 2007
Location: Germany
Age: 23
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Lucleonhart Send a message via MSN to Lucleonhart
Re: reCapatcha

Just open Notepad.exe on your pc, and paste it in. Then save that as "test.php" or something and upload to your webspace.
Open up the page in your browser, and you should see the PHP information!
Reply With Quote
  #16 (permalink)  
Old Nov 5th, 2007, 17:03
Up'n'Coming Member
Join Date: Mar 2007
Location: West Sussex UK
Age: 76
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Re: reCapatcha

If you type www.frenchcanalcruisingholidays.co.uk/capatcha1.html you will see what I get.

I am getting nowhere fast sorry to say.t. it's no use trying to use the above link as the file won't open, all you will get is a 404 but if you type the url it will open.
Reply With Quote
  #17 (permalink)  
Old Nov 14th, 2007, 17:29
Up'n'Coming Member
Join Date: Mar 2007
Location: West Sussex UK
Age: 76
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Re: reCapatcha

Adam,

I have put the Captcha on my Classic Boats web site and works fine as you can see but I am getting some code back with the request for the brochure or what ever. Can you please have a look and tell me what I have to do to stop this, is it a small bit of code like a<td> or <tr/> that needs inserting somewhere??


Nearly there!!

The form works ok but I am getting a lot of code, please see the following: -

redirect: http://www.classicboats.co.uk/page9.html
recipient: info@classicboats.co.uk
subject: Specifications Request
Title: Mr
textfield4: Binmore
address: 63 ifield Drive
textfield2: 01293 512255
textfield3: ron.binmore@pncl.co.uk
recaptcha_challenge_field: 02CGYkWwvmJYG9zdcSZ6y_LvtLcwHww8ayAaRyVi2VwZ4hwcfD 7QCdUlmNCIZ94smEoICDxoMfZaut5iYI0lpLifTRlDm-aufy-SCfwr-kspn0CJt9oBKmXEHVIx08U2u-6BqlCQIC
recaptcha_response_field: afeeting Arkansas
Submit: Submit
Reply With Quote
  #18 (permalink)  
Old Nov 14th, 2007, 18:09
AdRock's Avatar
SuperMember

SuperMember
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to AdRock
Re: reCapatcha

I have no idea as the chap who sorted out your php put the reCaptcha in there instead of the one that i did
Reply With Quote
  #19 (permalink)  
Old Nov 14th, 2007, 21:26
Up'n'Coming Member
Join Date: Mar 2007
Location: West Sussex UK
Age: 76
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Re: reCapatcha

Adroc.

The image works fine but when I get a response, this is what I received: -

redirect: http://www.classicboats.co.uk/page9.html
recipient: info@classicboats.co.uk
subject: Specifications Request
Title:
textfield4:
address:
textfield2:
textfield3:
recaptcha_challenge_field: 02EtMqQ2hMJkvOn9L9LMFn_kktcitgedBHmTWoadRizzJbrDOy IpNnK_i3hNbSwcWUVKk-RECcAPyLni83ImH_J0wefJhchBsBBh46p4sy5Z4jU-oqLf05Xar1kXxfcS0QhsfzQwIC
recaptcha_response_field: week lead
Submit2: Submit

Should I be getting all that code or just the message. The form is not the same as the French Canal one, is it possible to change ?
Reply With Quote
Reply

Thread Tools

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

BB 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 11:46.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43