Suoritettu

Inser recaptcha php code into an existing complex php file

Hello,

i am trying to configure recaptcha v2 on my website. I found the code on the internet, i am providing it below. I have done the client side work myself, however on the server side there is a [login to view URL] file done by the developer of a newsletter sending application that needs to include this code i found on the internet so that recaptcha starts to work. I am lacking the skills to integrate it so that all the current code keeps perfect functionality.

It should't be complicated for a coder,

best regards.

Alexandru

<?php

function post_captcha($user_response) {

$fields_string = '';

$fields = array(

'secret' => '6Lfg9V8UAAAAAJQmqjZnXa0AcmC4ISXD3twREuYN',

'response' => $user_response

);

foreach($fields as $key=>$value)

$fields_string .= $key . '=' . $value . '&';

$fields_string = rtrim($fields_string, '&');

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, '

[login to view URL]');

curl_setopt($ch, CURLOPT_POST, count($fields));

curl_setopt($ch, CURLOPT_POSTFIELDS, $fields_string);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, True);

$result = curl_exec($ch);

curl_close($ch);

return json_decode($result, true);

}

// Call the function post_captcha

$res = post_captcha($_POST['g-recaptcha-response']);

if (!$res['success']) {

// What happens when the CAPTCHA wasn't checked

echo '<p>Please go back and make sure you check the security

CAPTCHA box.</p><br>';

} else {

// If CAPTCHA is successfully completed...

// Paste mail function or whatever else you want to happen here!

echo '<br><p>CAPTCHA was completed successfully!</p><br>';

}

?>

Taidot: PHP

Näytä lisää: recaptcha code existing html form, php code update existing xls file, php code generate design file, php code store data file, php code megavideo avi file, read mp3 file php code, read complex xml file php, php code create excel file, upload file php code page, php code upload csv file, php open existing pdf file, php code read log file, flash php edit existing xml file, php code upload video file, php code download csv file

Tietoa työnantajasta:
( 0 arvostelua ) Romania

Projektin tunnus: #17247610

Myönnetty käyttäjälle:

NickolaS

Hi there, I can install recaptcha for you right now. Just contact me by chat and we will discuss everything. THanks

€30 EUR 0 päivässä
(369 Arvostelua)
7.6

23 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

maamekal

Hi there!! Please share the access to your site so I can add ReCaptcha as you want. I have good experience of :Python (Django, [login to view URL]) / JS / HTML / CSS/C++ ✔ Angular-js / Backbone-js/ Twitter Bootstrap ✔ M Lisää

€30 EUR 1 päivässä
(109 arvostelua)
6.6
WebXcellance

Hello there, As per my understanding, you need to Insert Recaptcha PHP code into an existing complex PHP file. we have 6+year experience in website design and developments in PHP, WordPress. we are interested in your Lisää

€30 EUR 1 päivässä
(110 arvostelua)
6.6
Sonicoders

I have four years experience as a web developer will integrate captcha code quickly, inbox me we can discuss more over chat.

€34 EUR 0 päivässä
(116 arvostelua)
6.0
milliard

Hi Alexandru, I will help you with this. Please let me know when you want me to deliver? Thanks, Rajesh :-)

€30 EUR 1 päivässä
(24 arvostelua)
6.0
nrtechweb

Hi greetings for the day! I am a senior php and WordPress developer and i have 7 years of experience in web development. I am a individual developer and i am not a company and doing freelancing individually. I will Lisää

€34 EUR 1 päivässä
(66 arvostelua)
5.6
schoudhary1553

Hello, I can help with you in your project Inser recaptcha php code into an existing complex php file. I have more than 5 years of experience in PHP. We have worked on several similar projects before! We have wor Lisää

€70 EUR 1 päivässä
(25 arvostelua)
5.2
nixtech

Hello Sir I can make the recapthca workable for you and ready to start right away. Please check my profile for work and experience. Regards Ashwin

€26 EUR 0 päivässä
(54 arvostelua)
5.2
santanubera9

Hello, Thank you for your job posting. I have carefully go through your requirements and I can insert the Recaptcha code to match your requirements. My Key Areas are: - Web design - Web development - Custom Lisää

€23 EUR 1 päivässä
(76 arvostelua)
5.6
jhon312020

Working has a full time freelancer. Have a good profile in freelancer .com Available Timings 11.30 AM to 9.00 PM IST Monday to Friday. Technical Skills - 9+ years of experience in web development - 2+ years of Lisää

€16 EUR 1 päivässä
(26 arvostelua)
5.0
amitbanerjee2812

Dear Hiring Manager, I read your job description and I am confident that I can exceed your expectations. I am a professional programmer on Insert recaptcha php code into an existing complex PHP file.I am able to d Lisää

€23 EUR 1 päivässä
(20 arvostelua)
5.0
sitwebsolution

Dear Sir/Madam, Hello Sir, we already worked on the same project. We are from S IT Solution, we're already skilled and experienced with your Desired skills. If you Consider us Lisää

€26 EUR 1 päivässä
(23 arvostelua)
4.9
shanymathew

Dear Sir I have great experience in integration of google recaptcha Please reply I can do this work perfectly Am waiting for your reply

€30 EUR 1 päivässä
(39 arvostelua)
4.5
tjcg

Hello Sir, We can successfully build websites in any frameworks of PHP, fulfilling all the requirements. We have read your job post and fully understood the requirements of the project. We believe in quality wo Lisää

€23 EUR 1 päivässä
(1 arvostelu)
2.6
seriouswork888

Hi, Hope you are doing well, As I have seen your job post I am ready to Insert recaptcha PHP code into an existing complex PHP file to your website. I am having extensive experience in PHP, HTML5, CSS, JavaS Lisää

€30 EUR 1 päivässä
(4 arvostelua)
2.6
Pdeveloper44

Hi, Hope, you’re doing well. absolute professional here, no time waster. I’m very Expert Web Developer/Software Developer, I have read the Project Description, I can help you. I have done this kind of Project Lisää

€15 EUR 1 päivässä
(6 arvostelua)
2.2
jafarali14

Hi greetings, I have already done Google recapcha work for other site. Thank you for going through my proposal for your Job titled I have gone through your job posting. I am an Expert PHP Developer with extensiv Lisää

€9 EUR 1 päivässä
(4 arvostelua)
1.3
techworking

Dear sir, Greeting of the day! I have gone through your project details which is Inser recaptcha php code into an existing complex php file and we can start immediately. We have huge experience of Website developmen Lisää

€34 EUR 1 päivässä
(2 arvostelua)
0.9
theweeky15

Hello Boss, Am ready to start now and as per your requirement I am well deserving candidate for your project. I have read your JD and can I express my interest for the same because it’s a good fit for what I’ve been Lisää

€23 EUR 1 päivässä
(1 arvostelu)
0.6
sannivedwebs

Hi Alexandru Greetings and hope you are doing well. I have landed on your requirement & I can meet up your exact requirement. We are web and mobile application development agency. We have great team here in C Lisää

€14 EUR 1 päivässä
(0 arvostelua)
0.0
cuidadotech

We are from Cuidado Technologies, we have 6+ years experienced Developers, 10+ years experienced Developers who works according to clients demand and give them full satisfaction regarding project as well as provide att Lisää

€23 EUR 2 päivässä
(0 arvostelua)
0.0