Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.
the following example shows how to create a pdf document in memory and how to output it correctly.
l'exemple suivant montre comment créer un fichier pdf en mémoire, et l 'envoyer correctement au navigateur.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
the following example demonstrates how to register a variable, and how to link correctly to another page using sid.
la seconde méthode place l 'identifiant de session directement dans les url.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
참고: you need to have a valid openssl.cnf installed for this function to operate correctly. see the notes under the installation section for more information.
exemple 1. openssl_csr_sign() example - signing a csr (how to implement your own ca)
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
consider the problem of matching a string in parentheses, allowing for unlimited nested parentheses. without the use of recursion, the best that can be done is to use a pattern that matches up to some fixed depth of nesting. it is not possible to handle an arbitrary nesting depth. perl 5.6 has provided an experimental facility that allows regular expressions to recurse (amongst other things). the special item (?r) is provided for the specific case of recursion. this pcre pattern solves the parentheses problem (assume the pcre_extended option is set so that white space is ignored): \( ((? [^()]+) _bar_ (?r) )*\) first it matches an opening parenthesis. then it matches any number of substrings which can either be a sequence of non- parentheses, or a recursive match of the pattern itself (i.e. a correctly parenthesized substring). finally there is a closing parenthesis. this particular example pattern contains nested unlimited repeats, and so the use of a once-only subpattern for matching strings of non-parentheses is important when applying the pattern to strings that do not match. for example, when it is applied to (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa() it yields "no match" quickly. however, if a once-only subpattern is not used, the match runs for a very long time indeed because there are so many different ways the + and * repeats can carve up the subject, and all have to be tested before failure can be reported. the values set for any capturing subpatterns are those from the outermost level of the recursion at which the subpattern value is set. if the pattern above is matched against (ab(cd)ef) the value for the capturing parentheses is "ef", which is the last value taken on at the top level. if additional parentheses are added, giving \( (((? [^()]+) _bar_ (?r) )*)\) ^ ^ ^ ^ then the string they capture is "ab(cd)ef", the contents of the top level parentheses. if there are more than 15 capturing parentheses in a pattern, pcre has to obtain extra memory to store data during a recursion, which it does by using pcre_malloc, freeing it via pcre_free afterwards. if no memory can be obtained, it saves data for the first 15 capturing parentheses only, as there is no way to give an out-of-memory error from within a recursion.
avant de partir dans les procédures standard de recherche, pcre s'assure qu'il y a au moins un "b" dans la chaîne, et si ce n'est pas le cas, l 'échec est annoncé immédiatement.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
Attenzione: contiene formattazione HTML nascosta