![]() ![]() ![]() Peer certificate cannot be authenticated with known CA certificates On a default install of Fedora, setting up the proper cURL parameters, I would get an error: I needed to use cURL in a php script to download data using not only SSL for the server authentication but also for client authentication. It is not 100% tested, so any feedback is appreciated. The third allows you to specify how long you are willing to wait for a response. The second argument is optional, and it allows you to check for a specific response code I wrote the following to see if a submitted URL has a valid http response code and also if it responds quickly. CURLStringFile::_construct - Crie um objeto CURLStringFile.CURLStringFile - A class CURLStringFile.CURLFile::setPostFilename - Define o nome do arquivo para o POST.CURLFile::setMimeType - Define o tipo de MIME.CURLFile::getPostFilename - Obtém o nome do arquivo utilizando o POST.CURLFile::getMimeType - Obtém o tipo de MIME.CURLFile::getFilename - Obtém o nome do arquivo.CURLFile::_construct - Criar um objeto CURLFile.CurlShareHandle - A classe CurlShareHandle.CurlMultiHandle - A classe CurlMultiHandle.curl_version - Gets cURL version information.curl_upkeep - Executa qualquer verificação de manutenção de conexão.curl_unescape - Decodifica a parte codificada da URL fornecida.curl_strerror - Retorna uma string que descreve o código de erro informado.curl_share_strerror - Retorna uma string descrevendo o código de erro fornecid. ![]() curl_share_setopt - Configura uma opção para um controlador de compartilhamento de cURL.curl_share_init - Inicializa um controlador de compartilhamento de cURL.curl_share_errno - Retorna o último número de erro de curl de compartilhamentor.curl_share_close - Fecha um controlador de compartilhamento de cURL.curl_setopt - Define uma opção para uma transferência cURL.curl_setopt_array - Set multiple options for a cURL transfer.curl_reset - Reseta todas as opções de um controlador de sessão libcurl.curl_pause - Pausa e despausa uma conexão.curl_multi_strerror - Retorna uma string que descreve o código de erro.curl_multi_setopt - Configura uma opção no multi controlador cURL.curl_multi_select - Wait for activity on any curl_multi connection.curl_multi_remove_handle - Remove a multi handle from a set of cURL handles.curl_multi_init - Returns a new cURL multi handle.curl_multi_info_read - Get information about the current transfers.curl_multi_getcontent - Return the content of a cURL handle if CURLOPT_RETURNTRANSFER is set.curl_multi_exec - Executa as subconexões do manipulador cURL atual.curl_multi_errno - Retorna o último número de erro de curl_multi.curl_multi_close - Close a set of cURL handles.curl_multi_add_handle - Adiciona um manipulador cURL comum a um manipulador cURL múltiplo.curl_getinfo - Get information regarding a specific transfer.curl_error - Retorna uma string contendo o último erro da sessão atual.curl_errno - Retorna o número do último erro.curl_copy_handle - Copia um controlador cURL com todas as suas opções.Getting Started Introduction A simple tutorial Language Reference Basic syntax Types Variables Constants Expressions Operators Control Structures Functions Classes and Objects Namespaces Enumerations Errors Exceptions Fibers Generators Attributes References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Predefined Attributes Context options and parameters Supported Protocols and Wrappers Security Introduction General considerations Installed as CGI binary Installed as an Apache module Session Security Filesystem Security Database Security Error Reporting User Submitted Data Hiding PHP Keeping Current Features HTTP authentication with PHP Cookies Sessions Dealing with XForms Handling file uploads Using remote files Connection handling Persistent Database Connections Command line usage Garbage Collection DTrace Dynamic Tracing Function Reference Affecting PHP's Behaviour Audio Formats Manipulation Authentication Services Command Line Specific Extensions Compression and Archive Extensions Cryptography Extensions Database Extensions Date and Time Related Extensions File System Related Extensions Human Language and Character Encoding Support Image Processing and Generation Mail Related Extensions Mathematical Extensions Non-Text MIME Output Process Control Extensions Other Basic Extensions Other Services Search Engine Extensions Server Specific Extensions Session Extensions Text Processing Variable and Type Related Extensions Web Services Windows Only Extensions XML Manipulation GUI Extensions Keyboard Shortcuts ? This help j Next menu item k Previous menu item g p Previous man page g n Next man page G Scroll to bottom g g Scroll to top g h Goto homepage g s Goto search ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |