Via de voorbeelden van menselijke vertaling trachten te leren vertalen.
Van professionele vertalers, bedrijven, webpagina's en gratis beschikbare vertaalbronnen.
梒 33. creating variables
edellinen
Laatste Update: 2011-10-24
Gebruiksfrequentie: 1
Kwaliteit:
瞰赽 33-1. creating variables with different scopes.
esimerkki 33-1.
Laatste Update: 2011-10-24
Gebruiksfrequentie: 1
Kwaliteit:
瞰赽 1. a stream for reading/writing global variables
esimerkki 1.
Laatste Update: 2011-10-24
Gebruiksfrequentie: 1
Kwaliteit:
the session_unset() function frees all session variables currently registered.
huomaa:
Laatste Update: 2011-10-24
Gebruiksfrequentie: 1
Kwaliteit:
if you're interested in importing other variables into the global scope, such as server, consider using extract().
huomaa:
Laatste Update: 2011-10-24
Gebruiksfrequentie: 1
Kwaliteit:
parses str as if it were the query string passed via an url and sets variables in the current scope. if the second parameter arr is present, variables are stored in this variable as an array elements instead.
huomaa:
Laatste Update: 2011-10-24
Gebruiksfrequentie: 1
Kwaliteit:
// fill in data for the distinguished name to be used in the cert // you must change the values of these keys to match your name and // company, or more precisely, the name and company of the person/site // that you are generating the certificate for. // for ssl certificates, the commonname is usually the domain name of // that will be using the certificate, but for s/mime certificates, // the commonname will be the name of the individual who will use the // certificate. $dn = array( "countryname" = "uk", "stateorprovincename" = "somerset", "localityname" = "glastonbury", "organizationname" = "the brain room limited", "organizationalunitname" = "php documentation team", "commonname" = "wez furlong", "emailaddress" = "wez@php.net"); // generate a new private (and public) key pair $privkey = openssl_pkey_new(); // generate a certificate signing request $csr = openssl_csr_new($dn, $privkey); // you will usually want to create a self-signed certificate at this // point until your ca fulfills your request. // this creates a self-signed cert that is valid for 365 days $sscert = openssl_csr_sign($csr, null, $privkey, 365); // now you will want to preserve your private key, csr and self-signed // cert so that they can be installed into your web server, mail server // or mail client (depending on the intended use of the certificate). // this example shows how to get those things into variables, but you // can also store them directly into files. // typically, you will send the csr on to your ca who will then issue // you with the "real" certificate. openssl_csr_export($csr, $csrout) and debug_zval_dump($csrout); openssl_x509_export($sscert, $certout) and debug_zval_dump($certout); openssl_pkey_export($privkey, $pkeyout, "mypassword") and debug_zval_dump($pkeyout); // show any errors that occurred here while (($e = openssl_error_string()) !== false) {echo $e. "\n";}
esimerkki 1. openssl_csr_new() example - creating a self-signed-certificate
Laatste Update: 2011-10-24
Gebruiksfrequentie: 1
Kwaliteit:
Waarschuwing: Bevat onzichtbare HTML-opmaak