RSS


[ Pobierz całość w formacie PDF ]
." CURLOPT_UPLOAD: Set this option to a non-zero value if you want PHP to prepare for anupload." CURLOPT_POST: Set this option to a non-zero value if you want PHP to do a regular HTTPPOST.This POST is a normalapplication/x-www-form-urlencodedkind, most commonlyused by HTML forms." CURLOPT_FTPLISTONLY: Set this option to a non-zero value and PHP will just list the namesof an FTP directory." CURLOPT_FTPAPPEND: Set this option to a non-zero value and PHP will append to the remotefile instead of overwriting it." CURLOPT_NETRC: Set this option to a non-zero value and PHP will scan your~./netrcfile tofind your username and password for the remote site that you re establishing a connection with." CURLOPT_FOLLOWLOCATION: Set this option to a non-zero value to follow any "Location: "header that the server sends as a part of the HTTP header (note this is recursive, PHP will followas many "Location: " headers that it is sent.)" CURLOPT_PUT: Set this option to a non-zero value to HTTP PUT a file.The file to PUT must beset with the CURLOPT_INFILE and CURLOPT_INFILESIZE.375 CURL" CURLOPT_MUTE: Set this option to a non-zero value and PHP will be completely silent withregards to the CURL functions." CURLOPT_TIMEOUT: Pass a long as a parameter that contains the maximum time, in seconds,that you ll allow the CURL functions to take." CURLOPT_LOW_SPEED_LIMIT: Pass a long as a parameter that contains the transfer speed inbytes per second that the transfer should be below during CURLOPT_LOW_SPEED_TIMEseconds for PHP to consider it too slow and abort." CURLOPT_LOW_SPEED_TIME: Pass a long as a parameter that contains the time in secondsthat the transfer should be below the CURLOPT_LOW_SPEED_LIMIT for PHP to consider it tooslow and abort." CURLOPT_RESUME_FROM: Pass a long as a parameter that contains the offset, in bytes, thatyou want the transfer to start from." CURLOPT_SSLVERSION: Pass a long as a parameter that contains the SSL version (2 or 3) touse.By default PHP will try and determine this by itself, although, in some cases you must set thismanually." CURLOPT_SSL_VERIFYHOST: Pass a long if CURL should verify the Common name of thepeer certificate in the SSL handshake.A value of 1 denotes that we should check for the existenceof the common name, a value of 2 denotes that we should make sure it matches the providedhostname." CURLOPT_TIMECONDITION: Pass a long as a parameter that defines how theCURLOPT_TIMEVALUE is treated.You can set this parameter to TIMECOND_IFMODSINCEor TIMECOND_ISUNMODSINCE.This is a HTTP-only feature." CURLOPT_TIMEVALUE: Pass a long as a parameter that is the time in seconds since January 1st,1970.The time will be used as specified by the CURLOPT_TIMEVALUE option, or by defaultthe TIMECOND_IFMODSINCE will be used." CURLOPT_RETURNTRANSFER: Pass a non-zero value if you want CURL to directly return thetransfer instead of printing it out directly.Thevalueparameter should be a string for the following values of theoptionparameter:" CURLOPT_URL: This is the URL that you want PHP to fetch.You can also set this option wheninitializing a session with the curl_init() function." CURLOPT_USERPWD: Pass a string formatted in the [username]:[password] manner, for PHP touse for the connection." CURLOPT_PROXYUSERPWD: Pass a string formatted in the [username]:[password] format forconnection to the HTTP proxy." CURLOPT_RANGE: Pass the specified range you want.It should be in the "X-Y" format, where Xor Y may be left out.The HTTP transfers also support several intervals, separated with commas asin X-Y,N-M." CURLOPT_POSTFIELDS: Pass a string containing the full data to post in an HTTP "POST"operation." CURLOPT_REFERER: Pass a string containing the "referer" header to be used in an HTTPrequest." CURLOPT_USERAGENT: Pass a string containing the "user-agent" header to be used in an HTTPrequest.376 CURL" CURLOPT_FTPPORT: Pass a string containing the value which will be used to get the IP addressto use for the ftp "POST" instruction.The POST instruction tells the remote server to connect toour specified IP address.The string may be a plain IP address, a hostname, a network interfacename (under UNIX), or just a plain  - to use the systems default IP address." CURLOPT_COOKIE: Pass a string containing the content of the cookie to be set in the HTTPheader." CURLOPT_SSLCERT: Pass a string containing the filename of PEM formatted certificate." CURLOPT_SSLCERTPASSWD: Pass a string containing the password required to use theCURLOPT_SSLCERT certificate." CURLOPT_COOKIEFILE: Pass a string containing the name of the file containing the cookiedata.The cookie file can be in Netscape format, or just plain HTTP-style headers dumped into afile." CURLOPT_CUSTOMREQUEST: Pass a string to be used instead ofGETorHEADwhen doing anHTTP request.This is useful for doingDELETEor other, more obscure, HTTP requests.Validvalues are things likeGET,POST, and so on; i.e.do not enter a whole HTTP request line here.Forinstance, entering  GET /index.html HTTP/1.0\r\n\r\n would be incorrect.Notatka: Don t do this without making sure your server supports the command first." CURLOPT_PROXY: Give the name of the HTTP proxy to tunnel requests through." CURLOPT_INTERFACE: Pass the name of the outgoing network interface to use.This can be aninterface name, an IP address or a host name." CURLOPT_KRB4LEVEL: Pass the KRB4 (Kerberos 4) security level.Anyone of the followingstrings (in order from least powerful, to most powerful):  clear ,  safe ,  confidential ,  private.Ifthe string does not match one of these, then  private is used.If you set this to NULL, this disablesKRB4 security.KRB4 security only works with FTP transactions currently." CURLOPT_HTTPHEADER: Pass an array of HTTP header fields to set." CURLOPT_QUOTE: Pass an array of FTP commands to perform on the server prior to the FTPrequest." CURLOPT_POSTQUOTE: Pass an array of FTP commands to execute on the server, after the FTPrequest has been performed.The following options expect a file descriptor that is obtained by using the fopen() function:" CURLOPT_FILE: The file where the output of your transfer should be placed, the default isSTDOUT." CURLOPT_INFILE: The file where the input of your transfer comes from." CURLOPT_WRITEHEADER: The file to write the header part of the output into." CURLOPT_STDERR: The file to write errors to instead of stderr.377 CURLcurl_version (PHP 4 >= 4.2)Return the current CURL versionstring curl_version ( void) \linebreakThe curl_version() function returns a string containing the current CURL version.378 XIII.Cybercash payment functionsInstalacjaThese functions are only available if the interpreter has been compiled with the--with-cybercash=[DIR].379 Cybercashcybercash_base64_decode (PHP 4 )base64 decode data for Cybercashstring cybercash_base64_decode ( string inbuff) \linebreakcybercash_base64_encode (PHP 4 )base64 encode data for Cybercashstring cybercash_base64_encode ( string inbuff) \linebreakcybercash_decr (PHP 4 )Cybercash decryptarray cybercash_decr ( string wmk, string sk, string inbuff) \linebreakThe function returns an associative array with the elements "errcode" and, if "errcode" isFALSE,"outbuff" (string), "outLth" (long) and "macbuff" (string).cybercash_encr (PHP 4 )Cybercash encryptarray cybercash_encr ( string wmk, string sk, string inbuff) \linebreakThe function returns an associative array with the elements "errcode" and, if "errcode" isFALSE,"outbuff" (string), "outLth" (long) and "macbuff" (string).380 XIV.Crdit Mutuel CyberMUT functionsWprowadzenieThis extension allows you to process credit cards transactions using Crdit Mutuel CyberMUTsystem (http://www.creditmutuel.fr/centre_commercial/vendez_sur_internet.html).CyberMUT is a popular Web Payment Service in France, provided by the Crdit Mutuel bank [ Pobierz całość w formacie PDF ]
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • wblaskucienia.xlx.pl