{"id":518771,"date":"2020-01-23T06:02:31","date_gmt":"2020-01-23T06:02:31","guid":{"rendered":"https:\/\/www.knowband.com\/blog\/?p=518543\/"},"modified":"2024-06-04T06:40:21","modified_gmt":"2024-06-04T06:40:21","slug":"c%c3%b3mo-integrar-google-recaptcha-con-php","status":"publish","type":"post","link":"https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c%c3%b3mo-integrar-google-recaptcha-con-php\/","title":{"rendered":"\u00bfC\u00f3mo integrar Google reCAPTCHA con PHP?"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p class=\"gt-block\" style=\"text-align: justify;\">Hoy en d\u00eda, todo el mundo quiere deshacerse del spam en su sitio web, ya sean comentarios o mensajes spam o tr\u00e1fico spam en su sitio. Para proteger su sitio web del spam, una de las mejores y m\u00e1s sencillas formas es utilizar <strong><a href=\"https:\/\/www.knowband.com\/es\/search?search=google%20recaptcha\">Google reCAPTCHA.<\/a><\/strong><\/p>\n<p style=\"text-align: justify;\">Antiguamente, la gente sol\u00eda poner alg\u00fan n\u00famero o cadena aleatoria en la pantalla y verificarla en el lado del servidor. Pero este m\u00e9todo es el m\u00e9todo antiguo y tambi\u00e9n requiere tiempo para muchos usuarios, mientras que el m\u00e9todo reCAPTCHA de Google es f\u00e1cil de usar y requiere menos tiempo, lo que resulta en una mejor experiencia de usuario. S\u00f3lo necesitan un solo clic para demostrar que son humanos y no un robot. Google reCAPTCHA es muy f\u00e1cil de implementar en un script PHP.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Picture2-1.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-518544\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Picture2-1.png\" alt=\"google reCAPTCHA\" width=\"495\" height=\"132\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Picture2-1.png 616w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Picture2-1-300x80.png 300w\" sizes=\"auto, (max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p class=\"gt-block\" style=\"text-align: justify;\"><strong>Lectura recomendada:<\/strong> <a href=\"https:\/\/www.knowband.com\/blog\/es\/prestashop-es\/como-integrar-la-proteccion-de-google-recaptcha-en-su-tienda-prestashop\/\">\u00bfC\u00f3mo integrar la protecci\u00f3n Google ReCaptcha en tu tienda PrestaShop?<\/a><\/p>\n<h2 style=\"text-align: justify;\">En este blog, aprender\u00e1 c\u00f3mo integrar Google reCaptcha con PHP en nuestra gu\u00eda paso a paso.<\/h2>\n<p><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Aprenda-c\u00f3mo-integrar-Google-reCaptcha-con-PHP-en-la-gu\u00eda-paso-a-paso-de-Knowband.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-824418 size-full\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Aprenda-c\u00f3mo-integrar-Google-reCaptcha-con-PHP-en-la-gu\u00eda-paso-a-paso-de-Knowband.png\" alt=\"Aprenda c\u00f3mo integrar Google reCaptcha con PHP en la gu\u00eda paso a paso de Knowband\" width=\"760\" height=\"398\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Aprenda-c\u00f3mo-integrar-Google-reCaptcha-con-PHP-en-la-gu\u00eda-paso-a-paso-de-Knowband.png 760w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Aprenda-c\u00f3mo-integrar-Google-reCaptcha-con-PHP-en-la-gu\u00eda-paso-a-paso-de-Knowband-300x157.png 300w\" sizes=\"auto, (max-width: 760px) 100vw, 760px\" \/><\/a><\/p>\n<h3 style=\"text-align: justify;\">Paso 1: para recuperar la clave API reCAPTCHA de Google<\/h3>\n<p class=\"gt-block\" style=\"text-align: justify;\">Para obtener una clave API para usar reCAPTCHA con PHP, debe registrar su sitio web en: <a href=\"https:\/\/www.google.com\/recaptcha\/admin\" target=\"_blank\">https:\/\/www.google.com\/recaptcha\/admin<\/a>. Las capturas de pantalla se dan a continuaci\u00f3n para su ayuda:<\/p>\n<p class=\"gt-block alignnone\" style=\"text-align: justify;\"><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Fetch-the-Google-reCAPTCHA-API-key-Knowband-2.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-824400 size-full\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Fetch-the-Google-reCAPTCHA-API-key-Knowband-2.png\" alt=\"Obtenga la clave API reCAPTCHA de Google - Knowband\" width=\"845\" height=\"684\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Fetch-the-Google-reCAPTCHA-API-key-Knowband-2.png 845w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Fetch-the-Google-reCAPTCHA-API-key-Knowband-2-300x243.png 300w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Fetch-the-Google-reCAPTCHA-API-key-Knowband-2-768x622.png 768w\" sizes=\"auto, (max-width: 845px) 100vw, 845px\" \/><\/a><br \/>\n<strong>Etiqueta:<\/strong> Utilice una etiqueta de su propia elecci\u00f3n, para que sea f\u00e1cil reconocer el sitio en el futuro. Puede agregar el nombre de su marca o la URL del sitio web en este campo para mejorar la legibilidad del nombre del proyecto.<\/p>\n<p class=\"gt-block\" style=\"text-align: justify;\"><strong>tipo de reCAPTCHA:<\/strong> Elija cualquier tipo de reCAPTCHA que prefiera para su sitio. Hay dos tipos disponibles actualmente, es decir, reCAPTCHA v3 y reCAPTCHA v2. Hemos usado reCAPTCHA v2 en el proyecto de muestra.<\/p>\n<p class=\"gt-block\" style=\"text-align: justify;\"><strong>Dominios:<\/strong> Aqu\u00ed debe ingresar el nombre de su sitio web para el cual implementar\u00e1 la funcionalidad reCAPTCHA. Se aplica a los dominios que introduzcas aqu\u00ed, y tambi\u00e9n a sus subdominios. Por ejemplo, un registro para abc.com tambi\u00e9n registra xyz.abc.com.<\/p>\n<p class=\"gt-block\" style=\"text-align: justify;\">Ahora simplemente marque la casilla de verificaci\u00f3n de <strong>Acepte los T\u00e9rminos de servicio de reCAPTCHA y haga clic en<\/strong> en el bot\u00f3n Enviar.<\/p>\n<p class=\"gt-block\" style=\"text-align: justify;\">Ahora tiene la clave del sitio y la clave secreta para su sitio web.<br \/>\n<a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/The-site-key-and-secret-key-for-your-website.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-824401 size-full\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/The-site-key-and-secret-key-for-your-website.png\" alt=\"La clave del sitio y la clave secreta para su sitio web - Knowband\" width=\"845\" height=\"448\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/The-site-key-and-secret-key-for-your-website.png 845w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/The-site-key-and-secret-key-for-your-website-300x159.png 300w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/The-site-key-and-secret-key-for-your-website-768x407.png 768w\" sizes=\"auto, (max-width: 845px) 100vw, 845px\" \/><\/a><\/p>\n<h3 style=\"text-align: justify;\">Paso 2: Para implementar Google reCaptcha con PHP, el segundo paso es implementar la funcionalidad reCAPTHA en su sitio:<\/h3>\n<ul>\n<li style=\"text-align: justify;\">Para agregar reCAPTCHA en PHP, primero debe incluir la biblioteca JavaScript reCAPTCHA en su HTML.\n<pre class=\"brush: actionscript3; gutter: true\"><\/pre>\n<\/li>\n<li style=\"text-align: justify;\">Ahora agregue este c\u00f3digo HTML donde desee mostrar el widget reCAPTCHA.\n<pre class=\"brush: actionscript3; gutter: true\"><\/pre>\n<\/li>\n<li style=\"text-align: justify;\">Reemplace site_key con la clave del sitio proporcionada por Google para su sitio web.<\/li>\n<\/ul>\n<ul>\n<li style=\"text-align: justify;\">Ya est\u00e1 hecho, simplemente actualice su p\u00e1gina y ver\u00e1 el widget reCAPTCHA en su sitio.<\/li>\n<\/ul>\n<h3 style=\"text-align: justify;\">Paso 3: Validar la respuesta del usuario<\/h3>\n<p style=\"text-align: justify;\">Ahora, debe validar la respuesta cuando un usuario hace clic en el widget reCAPTCHA. El c\u00f3digo PHP para verificar la respuesta del usuario se proporciona a continuaci\u00f3n:<\/p>\n<pre class=\"brush: actionscript3; gutter: true\">\u00e9xito) { $succMsg = &#039;Su solicitud de contacto se ha enviado con \u00e9xito.&#039;; } else { $errMsg = &#039;Fall\u00f3 la verificaci\u00f3n del robot, int\u00e9ntelo de nuevo.&#039;; } } ?&gt;<\/pre>\n<p style=\"text-align: justify;\">Agregue su clave secreta real en el c\u00f3digo anterior y listo.<\/p>\n<p class=\"gt-block\" style=\"text-align: justify;\">Obtener el c\u00f3digo de muestra <a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/recaptcha_blog.txt\" target=\"_blank\">esta p\u00e1gina<\/a>.<\/p>\n<p class=\"gt-block\" style=\"text-align: justify;\"><strong>Lectura recomendada:<\/strong> <a href=\"https:\/\/www.knowband.com\/blog\/es\/prestashop-blog-es\/dos-m%c3%b3dulos-efectivos-para-mantener-alejados-a-los-spammers-y-bots-de-la-tienda-prestashop\/\">Dos m\u00f3dulos efectivos para mantener alejados a los spammers y bots de la tienda PrestaShop<\/a><\/p>\n<p class=\"gt-block alignnone\" style=\"text-align: justify;\"><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/M\u00f3dulo-Google-reCaptcha-disponible-para-Prestashop-y-Opencart-de-Knowband.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-824416 size-full\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/M\u00f3dulo-Google-reCaptcha-disponible-para-Prestashop-y-Opencart-de-Knowband.png\" alt=\"M\u00f3dulo Google reCaptcha disponible para Prestashop y Opencart de Knowband\" width=\"760\" height=\"395\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/M\u00f3dulo-Google-reCaptcha-disponible-para-Prestashop-y-Opencart-de-Knowband.png 760w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/M\u00f3dulo-Google-reCaptcha-disponible-para-Prestashop-y-Opencart-de-Knowband-300x156.png 300w\" sizes=\"auto, (max-width: 760px) 100vw, 760px\" \/><\/a>Knowband ofrece el complemento Google ReCaptcha para varias plataformas, incluidas <strong><a href=\"https:\/\/www.knowband.com\/es\/prestashop-google-recaptcha\">PrestaShop<\/a>, <\/strong>y<strong> <a href=\"https:\/\/www.knowband.com\/es\/opencart-google-recaptcha\">OpenCart<\/a>.<\/strong> El m\u00f3dulo Google ReCaptcha es una poderosa herramienta de seguridad que protege su sitio web contra entradas de spam y al mismo tiempo facilita el acceso a los usuarios reales.<\/p>\n<p class=\"alignnone\" style=\"text-align: justify;\"><a href=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Gu\u00eda-de-Knowband-sobre-el-complemento-recaptcha-de-Google-que-se-puede-utilizar-de-varias-formas.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-824419 size-full\" src=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Gu\u00eda-de-Knowband-sobre-el-complemento-recaptcha-de-Google-que-se-puede-utilizar-de-varias-formas.png\" alt=\"Gu\u00eda de Knowband sobre el complemento recaptcha de Google que se puede utilizar de varias formas\" width=\"760\" height=\"398\" srcset=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Gu\u00eda-de-Knowband-sobre-el-complemento-recaptcha-de-Google-que-se-puede-utilizar-de-varias-formas.png 760w, https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Gu\u00eda-de-Knowband-sobre-el-complemento-recaptcha-de-Google-que-se-puede-utilizar-de-varias-formas-300x157.png 300w\" sizes=\"auto, (max-width: 760px) 100vw, 760px\" \/><\/a><\/p>\n<p class=\"alignnone\" style=\"text-align: justify;\">El complemento Google ReCaptcha se puede utilizar para iniciar sesi\u00f3n, registrarse, restablecer contrase\u00f1as, formularios de contacto conocidos y otras cosas. Las im\u00e1genes se muestran en el complemento Google ReCaptcha como parte de sus procesos de validaci\u00f3n est\u00e1ndar para ayudar a identificar humanos.<\/p>\n<p class=\"alignnone\" style=\"text-align: justify;\">Este m\u00f3dulo Google reCaptcha ofrece un rendimiento excelente y es extremadamente personalizable. Desde la parte posterior de los m\u00f3dulos Knowband, el comerciante electr\u00f3nico puede ajustar r\u00e1pidamente el complemento Google reCaptcha.<\/p>\n<div class=\"module_in_content_container\">\n<div class=\"module_content\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"module_image\" src=\"https:\/\/www.knowband.com\/image\/cache\/data\/Plugin%20Logo\/recaptcha-300x300.png\" alt=\"Knowband - Prestashop Google ReCaptcha Addon\" width=\"100\" height=\"100\" \/><\/p>\n<div class=\"module_content_part\">\n<h3 class=\"title\">Complemento Prestashop Google ReCaptcha<\/h3>\n<p class=\"module_content_text\">PrestaShop Google reCaptcha de Knowband mejora la seguridad de su tienda integrando Google reCaptcha, previniendo spam y bots automatizados.<\/p>\n<p><a class=\"link_2_to_module\" style=\"display: inline-block; color: #f36!important;\" href=\"https:\/\/www.knowband.com\/es\/prestashop-google-recaptcha\" target=\"_blank\" rel=\"noopener\"><span class=\"read-more\">Compra ahora<\/span><\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<style>\n.module_in_content_container { display: flex; flex-direction: column; padding: 20px; border: 1px solid #ccc; font-size: 16px; line-height: 26px; box-shadow: 0 3px 0 #ebebeb; -webkit-box-shadow: 0 3px 0 #ebebeb; position: relative; margin-bottom: 1.5em; } .module_in_content_container>a { position: absolute; left: 0; top: 0; width: 100%; height: 100%; } .module_content { display: flex; align-items: flex-start; } .module_content img { max-width: 100px; margin-right: 20px; } .module_content_part p.module_content_text { margin-bottom: 10px; margin-top: 0; font-size: 18px; color: #000; } .module_content h3 { font-size: 24px; font-weight: 700; line-height: 1.5em; padding-left: 0; padding-top: 0; margin: 0; } .read-more { font-size: 18px; font-weight: 700; line-height: 1.5em; position: relative; display: inline-block; text-transform: uppercase; color: #f36; } .read-more:after { position: absolute; content: ''; width: 1.5em; height: 1.5em; top: -1px; right: -1.5em; background: url(https:\/\/knowband.com\/mobile-app\/wp-content\/uploads\/images\/readmore-arrow.svg) no-repeat center \/ .75em; transition: all .2s; } .read-more:focus, .read-more:hover { text-decoration: none; cursor: pointer; } .read-more:hover:after { right: -2em; transition: all .2s; } @media (max-width: 600px) { .module_content { flex-direction: column; align-items: center; text-align: center; } .module_content img { margin: 0 auto 20px auto; max-width: 100%; } .module_content .title { flex-basis: auto; margin-top: 20px; } .module_content_part p.module_content_text { font-size: 16px; line-height: 24px; } .read-more { font-size: 16px;}}<\/style>\n<h2 style=\"text-align: justify;\">Ultimas palabras:<\/h2>\n<p>Implementar Google reCAPTCHA en sitios web es esencial para la seguridad. Ayuda a distinguir a los usuarios reales de los bots, previniendo el spam y los ataques automatizados. Esto mantiene los datos del usuario seguros y garantiza que el sitio web funcione sin problemas. Al bloquear el tr\u00e1fico da\u00f1ino, reCAPTCHA mejora la experiencia del usuario, haciendo que las interacciones en l\u00ednea sean m\u00e1s seguras y confiables.<\/p>\n<p><strong>Lectura recomendada &#8211;<\/strong> <a href=\"https:\/\/www.knowband.com\/blog\/es\/prestashop-blog-es\/%c2%a1mejore-la-seguridad-de-su-tienda-prestashop-con-los-mejores-m%c3%b3dulos-prestashop-de-knowband\/\">Mejore la seguridad de su tienda PrestaShop con los mejores m\u00f3dulos PrestaShop de Knowband<\/a><br \/>\nAdem\u00e1s de esto, Google reCaptcha tambi\u00e9n es compatible con One Page Checkout de Knowband, lo que lo protege contra el fraude en las transacciones. Es la mejor manera de proteger su tienda contra el fraude en transacciones. Para ver la demostraci\u00f3n de administraci\u00f3n y la demostraci\u00f3n de interfaz del m\u00f3dulo Google reCaptcha, visite nuestro <a href=\"https:\/\/www.knowband.com\/es\/search?search=google%20recaptcha\">tienda<\/a>.<\/p>\n<p><strong>\u00a1Evita que los spammers da\u00f1en tu negocio!<\/strong><\/p>\n<p><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/rdMl51HiB4g\" width=\"660\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Hoy en d\u00eda, todo el mundo quiere deshacerse del spam en su sitio web, ya sean comentarios o mensajes spam o tr\u00e1fico spam en su sitio. Para proteger su sitio web del spam, una de las mejores y m\u00e1s sencillas formas es utilizar Google reCAPTCHA. Antiguamente, la gente sol\u00eda poner alg\u00fan n\u00famero o cadena [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":824415,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kbui_enabled":"","footnotes":""},"categories":[218],"tags":[20021,20022,20023],"class_list":["post-518771","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sin-categorizar","tag-google-recaptcha-con-php","tag-integracin-de-google-recaptcha","tag-integrar-google-recaptcha"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u00bfC\u00f3mo integrar Google reCAPTCHA con PHP? - Knowband Blog | Ecommerce Modules<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c\u00f3mo-integrar-google-recaptcha-con-php\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u00bfC\u00f3mo integrar Google reCAPTCHA con PHP? - Knowband Blog | Ecommerce Modules\" \/>\n<meta property=\"og:description\" content=\"&nbsp; Hoy en d\u00eda, todo el mundo quiere deshacerse del spam en su sitio web, ya sean comentarios o mensajes spam o tr\u00e1fico spam en su sitio. Para proteger su sitio web del spam, una de las mejores y m\u00e1s sencillas formas es utilizar Google reCAPTCHA. Antiguamente, la gente sol\u00eda poner alg\u00fan n\u00famero o cadena [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c\u00f3mo-integrar-google-recaptcha-con-php\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowband Blog | Ecommerce Modules\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Knowband\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-23T06:02:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-04T06:40:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Integrar-Google-reCAPTCHA-con-PHP-Knowband.png\" \/>\n\t<meta property=\"og:image:width\" content=\"760\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Aparajita Singh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@KnowbandPlugin\" \/>\n<meta name=\"twitter:site\" content=\"@KnowbandPlugin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Aparajita Singh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/es\\\/sin-categorizar\\\/c%c3%b3mo-integrar-google-recaptcha-con-php\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/es\\\/sin-categorizar\\\/c%c3%b3mo-integrar-google-recaptcha-con-php\\\/\"},\"author\":{\"name\":\"Aparajita Singh\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/person\\\/7f6731df6c49b884493e2b8e92c7c33c\"},\"headline\":\"\u00bfC\u00f3mo integrar Google reCAPTCHA con PHP?\",\"datePublished\":\"2020-01-23T06:02:31+00:00\",\"dateModified\":\"2024-06-04T06:40:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/es\\\/sin-categorizar\\\/c%c3%b3mo-integrar-google-recaptcha-con-php\\\/\"},\"wordCount\":846,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/es\\\/sin-categorizar\\\/c%c3%b3mo-integrar-google-recaptcha-con-php\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/Integrar-Google-reCAPTCHA-con-PHP-Knowband.png\",\"keywords\":[\"Google recaptcha con PHP\",\"integraci\u00f3n de google reCAPTCHA\",\"Integrar Google reCAPTCHA\"],\"articleSection\":[\"Sin categorizar\"],\"inLanguage\":\"es-ES\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/es\\\/sin-categorizar\\\/c%c3%b3mo-integrar-google-recaptcha-con-php\\\/\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/es\\\/sin-categorizar\\\/c%c3%b3mo-integrar-google-recaptcha-con-php\\\/\",\"name\":\"\u00bfC\u00f3mo integrar Google reCAPTCHA con PHP? - Knowband Blog | Ecommerce Modules\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/es\\\/sin-categorizar\\\/c%c3%b3mo-integrar-google-recaptcha-con-php\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/es\\\/sin-categorizar\\\/c%c3%b3mo-integrar-google-recaptcha-con-php\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/Integrar-Google-reCAPTCHA-con-PHP-Knowband.png\",\"datePublished\":\"2020-01-23T06:02:31+00:00\",\"dateModified\":\"2024-06-04T06:40:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/es\\\/sin-categorizar\\\/c%c3%b3mo-integrar-google-recaptcha-con-php\\\/#breadcrumb\"},\"inLanguage\":\"es-ES\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knowband.com\\\/blog\\\/es\\\/sin-categorizar\\\/c%c3%b3mo-integrar-google-recaptcha-con-php\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es-ES\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/es\\\/sin-categorizar\\\/c%c3%b3mo-integrar-google-recaptcha-con-php\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/Integrar-Google-reCAPTCHA-con-PHP-Knowband.png\",\"contentUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/Integrar-Google-reCAPTCHA-con-PHP-Knowband.png\",\"width\":760,\"height\":300,\"caption\":\"Integrar Google reCAPTCHA con PHP - Knowband\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/es\\\/sin-categorizar\\\/c%c3%b3mo-integrar-google-recaptcha-con-php\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u00bfC\u00f3mo integrar Google reCAPTCHA con PHP?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\",\"name\":\"Knowband Blog | Ecommerce Modules\",\"description\":\"Magento, Prestashop, Opencart, Shopify\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es-ES\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\",\"name\":\"Knowband Blog | Ecommerce Modules\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es-ES\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/cropped-knowband_logo-v2.png\",\"contentUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/cropped-knowband_logo-v2.png\",\"width\":153,\"height\":61,\"caption\":\"Knowband Blog | Ecommerce Modules\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Knowband\",\"https:\\\/\\\/x.com\\\/KnowbandPlugin\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/person\\\/7f6731df6c49b884493e2b8e92c7c33c\",\"name\":\"Aparajita Singh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es-ES\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/IMG-20200131-WA0005-150x150.jpg\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/IMG-20200131-WA0005-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/IMG-20200131-WA0005-150x150.jpg\",\"caption\":\"Aparajita Singh\"},\"description\":\"Aparajita Singh is an experienced Software engineer in PHP. She also has knowledge of C, JAVA and database design. She has been working in the IT Industry from the last 2yrs and still looking forward to achieving more in the IT industry. She lives in New Delhi and her hobby is to write the technical writeups.\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/es\\\/author\\\/aparajitasingh\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u00bfC\u00f3mo integrar Google reCAPTCHA con PHP? - Knowband Blog | Ecommerce Modules","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c\u00f3mo-integrar-google-recaptcha-con-php\/","og_locale":"es_ES","og_type":"article","og_title":"\u00bfC\u00f3mo integrar Google reCAPTCHA con PHP? - Knowband Blog | Ecommerce Modules","og_description":"&nbsp; Hoy en d\u00eda, todo el mundo quiere deshacerse del spam en su sitio web, ya sean comentarios o mensajes spam o tr\u00e1fico spam en su sitio. Para proteger su sitio web del spam, una de las mejores y m\u00e1s sencillas formas es utilizar Google reCAPTCHA. Antiguamente, la gente sol\u00eda poner alg\u00fan n\u00famero o cadena [&hellip;]","og_url":"https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c\u00f3mo-integrar-google-recaptcha-con-php\/","og_site_name":"Knowband Blog | Ecommerce Modules","article_publisher":"https:\/\/www.facebook.com\/Knowband","article_published_time":"2020-01-23T06:02:31+00:00","article_modified_time":"2024-06-04T06:40:21+00:00","og_image":[{"width":760,"height":300,"url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Integrar-Google-reCAPTCHA-con-PHP-Knowband.png","type":"image\/png"}],"author":"Aparajita Singh","twitter_card":"summary_large_image","twitter_creator":"@KnowbandPlugin","twitter_site":"@KnowbandPlugin","twitter_misc":{"Written by":"Aparajita Singh","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c%c3%b3mo-integrar-google-recaptcha-con-php\/#article","isPartOf":{"@id":"https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c%c3%b3mo-integrar-google-recaptcha-con-php\/"},"author":{"name":"Aparajita Singh","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/person\/7f6731df6c49b884493e2b8e92c7c33c"},"headline":"\u00bfC\u00f3mo integrar Google reCAPTCHA con PHP?","datePublished":"2020-01-23T06:02:31+00:00","dateModified":"2024-06-04T06:40:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c%c3%b3mo-integrar-google-recaptcha-con-php\/"},"wordCount":846,"commentCount":0,"publisher":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization"},"image":{"@id":"https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c%c3%b3mo-integrar-google-recaptcha-con-php\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Integrar-Google-reCAPTCHA-con-PHP-Knowband.png","keywords":["Google recaptcha con PHP","integraci\u00f3n de google reCAPTCHA","Integrar Google reCAPTCHA"],"articleSection":["Sin categorizar"],"inLanguage":"es-ES"},{"@type":"WebPage","@id":"https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c%c3%b3mo-integrar-google-recaptcha-con-php\/","url":"https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c%c3%b3mo-integrar-google-recaptcha-con-php\/","name":"\u00bfC\u00f3mo integrar Google reCAPTCHA con PHP? - Knowband Blog | Ecommerce Modules","isPartOf":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c%c3%b3mo-integrar-google-recaptcha-con-php\/#primaryimage"},"image":{"@id":"https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c%c3%b3mo-integrar-google-recaptcha-con-php\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Integrar-Google-reCAPTCHA-con-PHP-Knowband.png","datePublished":"2020-01-23T06:02:31+00:00","dateModified":"2024-06-04T06:40:21+00:00","breadcrumb":{"@id":"https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c%c3%b3mo-integrar-google-recaptcha-con-php\/#breadcrumb"},"inLanguage":"es-ES","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c%c3%b3mo-integrar-google-recaptcha-con-php\/"]}]},{"@type":"ImageObject","inLanguage":"es-ES","@id":"https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c%c3%b3mo-integrar-google-recaptcha-con-php\/#primaryimage","url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Integrar-Google-reCAPTCHA-con-PHP-Knowband.png","contentUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/Integrar-Google-reCAPTCHA-con-PHP-Knowband.png","width":760,"height":300,"caption":"Integrar Google reCAPTCHA con PHP - Knowband"},{"@type":"BreadcrumbList","@id":"https:\/\/www.knowband.com\/blog\/es\/sin-categorizar\/c%c3%b3mo-integrar-google-recaptcha-con-php\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knowband.com\/blog\/fr\/"},{"@type":"ListItem","position":2,"name":"\u00bfC\u00f3mo integrar Google reCAPTCHA con PHP?"}]},{"@type":"WebSite","@id":"https:\/\/www.knowband.com\/blog\/fr\/#website","url":"https:\/\/www.knowband.com\/blog\/fr\/","name":"Knowband Blog | Ecommerce Modules","description":"Magento, Prestashop, Opencart, Shopify","publisher":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knowband.com\/blog\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es-ES"},{"@type":"Organization","@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization","name":"Knowband Blog | Ecommerce Modules","url":"https:\/\/www.knowband.com\/blog\/fr\/","logo":{"@type":"ImageObject","inLanguage":"es-ES","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2016\/09\/cropped-knowband_logo-v2.png","contentUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2016\/09\/cropped-knowband_logo-v2.png","width":153,"height":61,"caption":"Knowband Blog | Ecommerce Modules"},"image":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Knowband","https:\/\/x.com\/KnowbandPlugin"]},{"@type":"Person","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/person\/7f6731df6c49b884493e2b8e92c7c33c","name":"Aparajita Singh","image":{"@type":"ImageObject","inLanguage":"es-ES","@id":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/IMG-20200131-WA0005-150x150.jpg","url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/IMG-20200131-WA0005-150x150.jpg","contentUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2020\/01\/IMG-20200131-WA0005-150x150.jpg","caption":"Aparajita Singh"},"description":"Aparajita Singh is an experienced Software engineer in PHP. She also has knowledge of C, JAVA and database design. She has been working in the IT Industry from the last 2yrs and still looking forward to achieving more in the IT industry. She lives in New Delhi and her hobby is to write the technical writeups.","url":"https:\/\/www.knowband.com\/blog\/es\/author\/aparajitasingh\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.knowband.com\/blog\/es\/wp-json\/wp\/v2\/posts\/518771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knowband.com\/blog\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knowband.com\/blog\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/es\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/es\/wp-json\/wp\/v2\/comments?post=518771"}],"version-history":[{"count":3,"href":"https:\/\/www.knowband.com\/blog\/es\/wp-json\/wp\/v2\/posts\/518771\/revisions"}],"predecessor-version":[{"id":824873,"href":"https:\/\/www.knowband.com\/blog\/es\/wp-json\/wp\/v2\/posts\/518771\/revisions\/824873"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/es\/wp-json\/wp\/v2\/media\/824415"}],"wp:attachment":[{"href":"https:\/\/www.knowband.com\/blog\/es\/wp-json\/wp\/v2\/media?parent=518771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/es\/wp-json\/wp\/v2\/categories?post=518771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/es\/wp-json\/wp\/v2\/tags?post=518771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}