Tweet, Share & Like [ EnAcCiOn ]

 

FeedBurner FeedCount Y Facebook | EnAcCiOn

Send Voicemail | EnAcCiOn

Contact me using vCita | EnAcCiOn

Contact me using vCita | EnAcCiOn

Meeting Scheduler Powered by vCita

martes, 14 de julio de 2015

Re: Recaptcha V2 hopefully made simple. Both HTML and PHP code included here

I played with this code for quite a bit longer. In the end, my live code works and the reason I think it works is that if you either try to bypass the recaptcha or if you enter bad data and then submit, the g-recaptcha-response will always be false. so it almost doesn't matter what's in the response but I'm not really sure what it is the bots do. With that being said, this little change in the PHP code does seem to work simply and accurately. Once I get the $response (which is a string), I just search for the string "true" in it. If it can't find it, then $capt_resp will be FALSE.$response = file_get_contents("http://bit.ly/1eXekEZ".$captcha."&remoteip=".$_SERVER['REMOTE_ADDR']);$capt_resp = strpos($response, "true");if ($capt_resp === false){    echo "The captcha was false!!";    exit;}You could obviously check for either 'true' or 'false' on the STRPOS command. DonnaOn Tuesday, July 14, 2015 at 1:35:25 PM UTC-7, Martin Brilliant wrote: Donna, It's my turn to thank you for making me revisit the code (which we both got independently from codeforgeek.com).I agree with you up to a point. Your test for (!$captcha) does correctly check whether it exists or not. When you echo $response you verify, as I did, that $response really has valid information as to whether the user did or did not complete the captcha correctly. So far, so good. But echo $response is only human-readable; it can't control what the code does next.What I want to know is, when your echo $response came back with false, missing input response, what did if($response.'success'==true) tell you? If that test failed, then you're OK. But for me, that test always succeeded, even when I clicked Submit without doing the captcha.BTW I submitted a later post in this thread that says if I first decode the JSON object, and then test the resulting associative array, I get a test that works.Anyway, that page on codeforgeek.com had a lot of disagreeing comments, some saying you have to json_decode(), others saying you don't. Apparently, for reasons I don't understand, different users can get different results with what looks like the same code. "Your mileage may vary." On Tuesday, July 14, 2015 at 1:14:56 PM UTC-4, Donna S wrote: I think I'm going to have to disagree with you about the code in my original post. Here's what I did to test it so you can try and recreate it. When I got to the recaptcha, I got the series of pictures but I picked the wrong photos intentionally, so it gave me a new set. While those new pics were up on the screen, I clicked the submit button and I got the error message to check the recaptcha. If I go back to the process routine and have it dump $captcha it in fact is null. So then I commented out the the code which checks for  !$captcha and let it fall through and execute the $response = file_get_contents("https ... andjust had it echo $response and here was what I got when I repeated the same test of not answering the pictures correctly:{ "success": false, "error-codes": [ "missing-input-response" ] }So I would say the code in fact works just fine. The HOWEVER I would put in there is if in fact you wanted to find out what the error code was (in my case I don't care), you could then use EXPLODE or some other code to go extract the error code.Again I don't take credit for this code as it was not in fact mine but I love the simplicity of it. Thanks for looking and making me look at the code closer. DonnaOn Monday, July 13, 2015 at 6:45:30 PM UTC-7, Martin Brilliant wrote: I looked on the web and I think I have a working test. Since $response is a JSON object, it should be decoded to an associative array, and then the appropriate element of the array should be tested. So we need, first,      $response = json_decode($response, true);and then the test should be      if($response['success'])With those changes, I got "You have been identified as a robot" when the secret key was wrong, and "Thanks for getting it right" after I restored the correct secret key.I'm waiting for somebody else to verify that this code is OK before I use it. Meanwhile I'm still using V1.BTW I got a new key pair for V2, different from the pair I was using for V1. I have a vague recollection that I tried the same code before, but using the same key pair as for V1, and it always tested false. If so, you need a new key pair for V2. But I could be mistaken.On Monday, July 13, 2015 at 9:14:24 PM UTC-4, Martin Brilliant wrote: How carefully did you test this code? I added some debugging statements, and then tested it by altering the secret key. The debugging showed false, but the test always succeeded. So, meanwhile, I'm still using V1.Here is my code (after getting the POST parameters and the $response to the file_get_contents statement):

Re: Recaptcha V2 hopefully made simple. Both HTML and PHP code included here

Martin I tried the same test (failing to select correct pics and then hitting submit) on my live site and it does indeed FAIL and tell me to retry the recaptcha. Are you convinced  yet?  I feel good enough about this to live my code up and running.DonnaOn Tuesday, July 14, 2015 at 1:35:25 PM UTC-7, Martin Brilliant wrote: Donna, It's my turn to thank you for making me revisit the code (which we both got independently from codeforgeek.com).I agree with you up to a point. Your test for (!$captcha) does correctly check whether it exists or not. When you echo $response you verify, as I did, that $response really has valid information as to whether the user did or did not complete the captcha correctly. So far, so good. But echo $response is only human-readable; it can't control what the code does next.What I want to know is, when your echo $response came back with false, missing input response, what did if($response.'success'==true) tell you? If that test failed, then you're OK. But for me, that test always succeeded, even when I clicked Submit without doing the captcha.BTW I submitted a later post in this thread that says if I first decode the JSON object, and then test the resulting associative array, I get a test that works.Anyway, that page on codeforgeek.com had a lot of disagreeing comments, some saying you have to json_decode(), others saying you don't. Apparently, for reasons I don't understand, different users can get different results with what looks like the same code. "Your mileage may vary." On Tuesday, July 14, 2015 at 1:14:56 PM UTC-4, Donna S wrote: I think I'm going to have to disagree with you about the code in my original post. Here's what I did to test it so you can try and recreate it. When I got to the recaptcha, I got the series of pictures but I picked the wrong photos intentionally, so it gave me a new set. While those new pics were up on the screen, I clicked the submit button and I got the error message to check the recaptcha. If I go back to the process routine and have it dump $captcha it in fact is null. So then I commented out the the code which checks for  !$captcha and let it fall through and execute the $response = file_get_contents("https ... andjust had it echo $response and here was what I got when I repeated the same test of not answering the pictures correctly:{ "success": false, "error-codes": [ "missing-input-response" ] }So I would say the code in fact works just fine. The HOWEVER I would put in there is if in fact you wanted to find out what the error code was (in my case I don't care), you could then use EXPLODE or some other code to go extract the error code.Again I don't take credit for this code as it was not in fact mine but I love the simplicity of it. Thanks for looking and making me look at the code closer. DonnaOn Monday, July 13, 2015 at 6:45:30 PM UTC-7, Martin Brilliant wrote: I looked on the web and I think I have a working test. Since $response is a JSON object, it should be decoded to an associative array, and then the appropriate element of the array should be tested. So we need, first,      $response = json_decode($response, true);and then the test should be      if($response['success'])With those changes, I got "You have been identified as a robot" when the secret key was wrong, and "Thanks for getting it right" after I restored the correct secret key.I'm waiting for somebody else to verify that this code is OK before I use it. Meanwhile I'm still using V1.BTW I got a new key pair for V2, different from the pair I was using for V1. I have a vague recollection that I tried the same code before, but using the same key pair as for V1, and it always tested false. If so, you need a new key pair for V2. But I could be mistaken.On Monday, July 13, 2015 at 9:14:24 PM UTC-4, Martin Brilliant wrote: How carefully did you test this code? I added some debugging statements, and then tested it by altering the secret key. The debugging showed false, but the test always succeeded. So, meanwhile, I'm still using V1.Here is my code (after getting the POST parameters and the $response to the file_get_contents statement):

Re: Recaptcha V2 hopefully made simple. Both HTML and PHP code included here

Donna, It's my turn to thank you for making me revisit the code (which we both got independently from codeforgeek.com).I agree with you up to a point. Your test for (!$captcha) does correctly check whether it exists or not. When you echo $response you verify, as I did, that $response really has valid information as to whether the user did or did not complete the captcha correctly. So far, so good. But echo $response is only human-readable; it can't control what the code does next.What I want to know is, when your echo $response came back with false, missing input response, what did if($response.'success'==true) tell you? If that test failed, then you're OK. But for me, that test always succeeded, even when I clicked Submit without doing the captcha.BTW I submitted a later post in this thread that says if I first decode the JSON object, and then test the resulting associative array, I get a test that works.Anyway, that page on codeforgeek.com had a lot of disagreeing comments, some saying you have to json_decode(), others saying you don't. Apparently, for reasons I don't understand, different users can get different results with what looks like the same code. "Your mileage may vary." On Tuesday, July 14, 2015 at 1:14:56 PM UTC-4, Donna S wrote: I think I'm going to have to disagree with you about the code in my original post. Here's what I did to test it so you can try and recreate it. When I got to the recaptcha, I got the series of pictures but I picked the wrong photos intentionally, so it gave me a new set. While those new pics were up on the screen, I clicked the submit button and I got the error message to check the recaptcha. If I go back to the process routine and have it dump $captcha it in fact is null. So then I commented out the the code which checks for  !$captcha and let it fall through and execute the $response = file_get_contents("https ... andjust had it echo $response and here was what I got when I repeated the same test of not answering the pictures correctly:{ "success": false, "error-codes": [ "missing-input-response" ] }So I would say the code in fact works just fine. The HOWEVER I would put in there is if in fact you wanted to find out what the error code was (in my case I don't care), you could then use EXPLODE or some other code to go extract the error code.Again I don't take credit for this code as it was not in fact mine but I love the simplicity of it. Thanks for looking and making me look at the code closer. DonnaOn Monday, July 13, 2015 at 6:45:30 PM UTC-7, Martin Brilliant wrote: I looked on the web and I think I have a working test. Since $response is a JSON object, it should be decoded to an associative array, and then the appropriate element of the array should be tested. So we need, first,      $response = json_decode($response, true);and then the test should be      if($response['success'])With those changes, I got "You have been identified as a robot" when the secret key was wrong, and "Thanks for getting it right" after I restored the correct secret key.I'm waiting for somebody else to verify that this code is OK before I use it. Meanwhile I'm still using V1.BTW I got a new key pair for V2, different from the pair I was using for V1. I have a vague recollection that I tried the same code before, but using the same key pair as for V1, and it always tested false. If so, you need a new key pair for V2. But I could be mistaken.On Monday, July 13, 2015 at 9:14:24 PM UTC-4, Martin Brilliant wrote: How carefully did you test this code? I added some debugging statements, and then tested it by altering the secret key. The debugging showed false, but the test always succeeded. So, meanwhile, I'm still using V1.Here is my code (after getting the POST parameters and the $response to the file_get_contents statement):

no captcha recaptch display problem

Hi everybody,I show the no-captcha recaptcha in a popup (FancyBox), everything is fine.(recaptch1.PNG) But when the user click on the checkbox the captcha image overlay is not show entirely. (recaptch2.PNG).My question, can we place automatiquely the overlay the manner the user can see the directive. (recaptch3.PNG) Or can we resize the overlay to fit the iframe in the popup so everything can be seen?Any suggestion?.Thank you in advance. -- You received this message because you are subscribed to the Google Groups "reCAPTCHA" group. To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+unsubscribe@googlegroups.com. To post to this group, send email to recaptcha@googlegroups.com. Visit this group at http://bit.ly/1dkFnYd. For more options, visit http://bit.ly/P65DvS.

Re: Captcha after repeated tries

On Wednesday, July 8, 2015 at 11:50:37 PM UTC+6, Rafael Walter wrote: Is it possible, on a simple HTML form, say a login page, only show the reCaptcha after 3 access from the same IP in the same second? -- You received this message because you are subscribed to the Google Groups "reCAPTCHA" group. To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+unsubscribe@googlegroups.com. To post to this group, send email to recaptcha@googlegroups.com. Visit this group at http://bit.ly/1dkFnYd. For more options, visit http://bit.ly/P65DvS.

Language setting

Hi I want to know how can I change the language of the new reCAPTCHA. I live in the United Arab Emirates, so this means that the language is in Arabic. But Google should be aware that not many people living in the U.A.E like me can understand Arabic. I can't even contact the developer of many apps for support because their support page has the new reCAPTCHA and it's very difficult to complete the task reCAPTCHA because it's in Arabic. Please look into this. :) -- You received this message because you are subscribed to the Google Groups "reCAPTCHA" group. To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+unsubscribe@googlegroups.com. To post to this group, send email to recaptcha@googlegroups.com. Visit this group at http://bit.ly/1dkFnYd. For more options, visit http://bit.ly/P65DvS.

Re: Recaptcha V2 hopefully made simple. Both HTML and PHP code included here

I think I'm going to have to disagree with you about the code in my original post. Here's what I did to test it so you can try and recreate it. When I got to the recaptcha, I got the series of pictures but I picked the wrong photos intentionally, so it gave me a new set. While those new pics were up on the screen, I clicked the submit button and I got the error message to check the recaptcha. If I go back to the process routine and have it dump $captcha it in fact is null. So then I commented out the the code which checks for  !$captcha and let it fall through and execute the $response = file_get_contents("https ... andjust had it echo $response and here was what I got when I repeated the same test of not answering the pictures correctly:{ "success": false, "error-codes": [ "missing-input-response" ] }So I would say the code in fact works just fine. The HOWEVER I would put in there is if in fact you wanted to find out what the error code was (in my case I don't care), you could then use EXPLODE or some other code to go extract the error code.Again I don't take credit for this code as it was not in fact mine but I love the simplicity of it. Thanks for looking and making me look at the code closer. DonnaOn Monday, July 13, 2015 at 6:45:30 PM UTC-7, Martin Brilliant wrote: I looked on the web and I think I have a working test. Since $response is a JSON object, it should be decoded to an associative array, and then the appropriate element of the array should be tested. So we need, first,      $response = json_decode($response, true);and then the test should be      if($response['success'])With those changes, I got "You have been identified as a robot" when the secret key was wrong, and "Thanks for getting it right" after I restored the correct secret key.I'm waiting for somebody else to verify that this code is OK before I use it. Meanwhile I'm still using V1.BTW I got a new key pair for V2, different from the pair I was using for V1. I have a vague recollection that I tried the same code before, but using the same key pair as for V1, and it always tested false. If so, you need a new key pair for V2. But I could be mistaken.On Monday, July 13, 2015 at 9:14:24 PM UTC-4, Martin Brilliant wrote: How carefully did you test this code? I added some debugging statements, and then tested it by altering the secret key. The debugging showed false, but the test always succeeded. So, meanwhile, I'm still using V1.Here is my code (after getting the POST parameters and the $response to the file_get_contents statement):

Invertir Mejor: "Las frases más estúpidas de la historia / Dinero y Riqueza" y más videos

Invertir Mejor: "Las frases más estúpidas de la historia / Dinero y Riqueza" y más videos Invertir Mejor: "Las frases más estúpidas de la historia / Dinero y Riqueza" y más videos Heldridge Johann, echa un vistazo a los últimos videos de tus suscripciones a canales del 14/07/2015.    Reproducir todos      Reproducir todos   Las frases más estúpidas de la historia / Dinero y Riqueza hace 14 horas  •  6,227 reproducciones Invertir Mejor ¿Por qué es importante donar sangre y quiénes pueden hacerlo? Opina hace 12 horas  •  21 reproducciones TVPeruPE Noticias   + 1 más   07 Evangelizacion de Exito II | Fe para Hoy | Pastor Andrés Portes hace 12 horas  •  18 reproducciones jespadillchannel (Jesús Padilla)   + 18 más   Redes y Poder - JUL 13 - Parte 4/5 hace 4 horas  •  6 reproducciones Willax Televisión   + 6 más   Entrevista a Teófilo Gamarra y Héctor Becerril - Sin peros en la Le... hace 12 horas  •  98 reproducciones americanoticias.pe   + 1 más   ¡Descúbrelo! ¿Quién es la nueva integrante de El Pelotón? hace 14 horas  •  353 reproducciones Latina.pe   + 1 más   El Gran Show - Sábado 11-07-2015 - Segunda Temporada Parte 9/9 hace 15 horas  •  527 reproducciones América Televisión - Magazine Lavrov sobre el histórico acuerdo sobre el programa nuclear de Irán hace 4 horas  •  263 reproducciones RT en Español Cuadrito de Bebé para la puerta hace 1 hora  •  1 reproducción Nuevo Tiempo Oficial Sedapal suspenderá mañana servicio de agua potable en 11 distritos ... hace 1 hora  •  3 reproducciones Buenos Días Perú   + 2 más   ¿Quieres ver más videos? Visita YouTube para descubrir más contenido. Ir a YouTube © 2015 YouTube, LLC 901 Cherry Ave, San Bruno, CA 94066 YouTube envía resúmenes por correo electrónico como estos para que puedas mantenerte al día con las suscripciones al canal. Si ya no quieres recibir estas actualizaciones, puedes editar tus preferencias aquí o anular la suscripción.

Re: reCAPTCHA v2 not loading sometimes in some browsers

Hi Marta, Do you have a fallback in place for users that do not have Javascript disabled? On Friday, 10 July 2015 09:22:33 UTC+1, Marta Galve wrote: Hi, We are doing some work for a customer and they complain about the captcha not loading, sometimes, in different browsers (Firefox 36.0.1, IE11). I cannot replicate this issue from my machine, does anyone know a potential reason? Maybe network problems? Thanks, -- You received this message because you are subscribed to the Google Groups "reCAPTCHA" group. To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+unsubscribe@googlegroups.com. To post to this group, send email to recaptcha@googlegroups.com. Visit this group at http://bit.ly/1dkFnYd. For more options, visit http://bit.ly/P65DvS.

Req:Java Developer with Web Services @ Merrimack, NH or smithfield,RI

Hi, Hope you are doing Good !!!We have immediate openings for Java Developer with Web Services  one of our clients. Please let me know ASAP, if any of your consultant’s available in applying for this position. Please find the following Job description.Role: Java Developer with Web ServicesLocation: Merrimack, NH or smithfield,RIDuration: 6monthsExperience : 9 to 10 yrsJava Web Services (soap & rest)  (Primary skill)Java Spring frameworkMulesSQLThanks & Regards,Jeanta Williams Agile Enterprise Solutions Inc Ph: 630-315-9538Email; Jeanta_williams@aesinc.us.com || http://bit.ly/1L2QcNP -- You received this message because you are subscribed to the Google Groups "reCAPTCHA" group. To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+unsubscribe@googlegroups.com. To post to this group, send email to recaptcha@googlegroups.com. Visit this group at http://bit.ly/1dkFnYd. For more options, visit http://bit.ly/P65DvS.

¡EnAcCiOn está listo! Edición del 14 julio 2015

EnAcCiOn Customize this newsletter and easily invite subscribers. Find out how EnAcCiOn EnAcCiOn Publicado por Johann Rodríguez Sánchez 14 julio 2015 Mundo Tiempo Libre Educación Medio ambiente Tecnología Deportes #fútbol #grecia Titular de hoy 5 Cosas a Tener en Cuenta a la hora de hacer Fotografía Macro www­.dzoom­.org­.es - La fotografía macro es una de las especialidades fotográficas más espectaculares visualmente pues, por norma general, muestra imágenes muy poco comunes: nuestro ojo no está acostumbrado a ver sujet... 14 colaboradores - hoy aparecen: Leer el periódico → Correo electrónico gestionado por Si no has solicitado recibir esta notificación o no deseas seguir recibiendo actualizaciones de este periódico, cancela tu suscripción aquí. Nos comprometemos a proteger tu privacidad - más información en nuestra Política de rivacidad. Smallrivers SA, Innovation Park EPFL, Building C, 1015 Lausanne, Switzerland

EnAcCiOn

Contador Web | EnAcCiOn

EnAcCiOn

EnAcCiOn

EnAcCiOn

Blog Archive | EnAcCiOn