APPPATH/libraries/Recaptcha.php [ 65 ]
60 * @return string JSON response from reCAPTCHA server
61 */
62 private function _submitHTTPGet($path, $data)
63 {
64 $req = $this->_encodeQS($data);
65 $response = file_get_contents($path.$req);
66
67 return $response;
68 }
69
70 /**
-
{PHP internal call} » MY_Exceptions::error_handler(arguments)
code2
errorfile_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0
file/home/sikramlppmunja/public_html/application/libraries/Recaptcha.php
line65
4Array ( [path] => https://www.google.com/recaptcha/api/siteverify? [data] => Array ( [secret] => 6Lcc8EEUAAAAALgLIaQrGPE1m33P_UH2vj8cHvZE [remoteip] => 216.73.216.10 [v] => php_1.0 [response] => ) [req] => secret=6Lcc8EEUAAAAALgLIaQrGPE1m33P_UH2vj8cHvZE&remoteip=216.73.216.10&v=php_1.0&response= ) -
APPPATH/libraries/Recaptcha.php [ 65 ] » file_get_contents(arguments)
filenamehttps://www.google.com/recaptcha/api/siteverify?secret=6Lcc8EEUAAAAALgLIaQrGPE1m33P_UH2vj8cHvZE&remoteip=216.73.216.10&v=php_1.0&response=
60 * @return string JSON response from reCAPTCHA server 61 */ 62 private function _submitHTTPGet($path, $data) 63 { 64 $req = $this->_encodeQS($data); 65 $response = file_get_contents($path.$req); 66 67 return $response; 68 } 69 70 /** -
APPPATH/libraries/Recaptcha.php [ 106 ] » ReCaptcha->_submitHTTPGet(arguments)
pathhttps://www.google.com/recaptcha/api/siteverify?
dataArray ( [secret] => 6Lcc8EEUAAAAALgLIaQrGPE1m33P_UH2vj8cHvZE [remoteip] => 216.73.216.10 [v] => php_1.0 [response] => )101 $getResponse = $this->_submitHttpGet( 102 $this->_siteVerifyUrl, array( 103 'secret' => $this->_secret, 104 'remoteip' => (!is_null($remoteIp)) ? $remoteIp : $this->ci->input->ip_address(), 105 'v' => $this->_version, 106 'response' => $response, 107 ) 108 ); 109 $answers = json_decode($getResponse, true); 110 111 // echo implode($answers); -
APPPATH/modules/signin/controllers/Signin.php [ 109 ] » ReCaptcha->verifyResponse(arguments)
response104 { 105 // $this->db->where('username' ,'admin'); 106 // $this->db->update('admin_users',array('password' => $this->bcrypt->hash_password('admin'))); 107 // echo get_settings('google_auth'); 108 $captcha_answer = $this->input->post('g-recaptcha-response'); 109 $response = $this->recaptcha->verifyResponse($captcha_answer); 110 111 if ($response['success']) { 112 $this->form_validation->set_rules('username', 'Username', 'required'); 113 $this->form_validation->set_rules('password', 'Password', 'required'); 114 -
FCPATH/system-3.1.5/core/CodeIgniter.php [ 532 ] » Signin->index()
527 /* 528 * ------------------------------------------------------ 529 * Call the requested method 530 * ------------------------------------------------------ 531 */ 532 call_user_func_array(array(&$CI, $method), $params); 533 534 // Mark a benchmark end point 535 $BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_end'); 536 537 /* -
FCPATH/index.php [ 317 ] » require_once(arguments)
0/home/sikramlppmunja/public_html/system-3.1.5/core/CodeIgniter.php
312 * LOAD THE BOOTSTRAP FILE 313 * -------------------------------------------------------------------- 314 * 315 * And away we go... 316 */ 317 require_once BASEPATH.'core/CodeIgniter.php';