'; echo '

' . $message . '

'; echo '

'; if( !empty( $action ) ) { echo $action; } else { echo '' . yourls__( '← Go home and try again', 'isq_translation' ) . ''; } echo '

'; echo ''; include('footer.php'); die(); } /** * Get remote file, either using CURL or file_get_contents * depending on server configuration. * * @param string $url Remote file URL. * @return string Remote file contents. */ function get_remote_file( $url ) { if( function_exists( 'curl_init' ) ) { $curl = curl_init(); curl_setopt( $curl, CURLOPT_URL, $url ); curl_setopt( $curl, CURLOPT_RETURNTRANSFER, true ); $output = curl_exec( $curl ); curl_close( $curl ); return $output; } elseif( ini_get( 'allow_url_fopen' ) ) { return file_get_contents( $url ); } else { display_error( yourls__( 'Your server doesn\'t support reCAPTCHA. Ask your host to install cURL or turn on allow_url_fopen.', 'isq_translation' ) ); } }