Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.
this file is included from xmltest.xml:
if not, display the code / / instead. if (trustedfile($parser_file[$parser])) {eval($data);} else {printf("untrusted php code: i %s / i ", htmlspecialchars($data));} break;}} function defaulthandler($parser, $data) {if (substr($data, 0, 1) ==" "substr($data, -1, 1) ==" ;") {printf( 'font color="#aa00aa "%s / font', htmlspecialchars($data));} else {printf( 'font size="-1" %s / font', htmlspecialchars($data));}} function externalentityrefhandler($parser, $openentitynames, $base, $systemid, $publicid) {if ($systemid) {if (!list($parser, $fp) = new_xml_parser($systemid)) {printf("could not open entity %s at %s\n", $openentitynames, $systemid); return false;} while ($data = fread($fp, 4096)) {if (!xml_parse($parser, $data, feof($fp))) {printf("xml error: %s at line %d while parsing entity %s\n", xml_error_string(xml_get_error_code($parser)), xml_get_current_line_number($parser), $openentitynames); xml_parser_free($parser); return false;}} xml_parser_free($parser); return true;} return false;} function new_xml_parser($file) {global $parser_file; $xml_parser = xml_parser_create(); xml_parser_set_option($xml_parser, xml_option_case_folding, 1); xml_set_element_handler($xml_parser, "startelement", "endelement"); xml_set_character_data_handler($xml_parser, "characterdata"); xml_set_processing_instruction_handler($xml_parser, "pihandler"); xml_set_default_handler($xml_parser, "defaulthandler"); xml_set_external_entity_ref_handler($xml_parser, "externalentityrefhandler"); if (!($fp = @fopen($file, "r"))) {return false;} if (!is_array($parser_file)) {settype($parser_file, "array");} $parser_file[$xml_parser] = $file; return array($xml_parser, $fp);} if (!(list($xml_parser, $fp) = new_xml_parser($file))) {die("could not open xml input");} print "pre"; while ($data = fread($fp, 4096)) {if (!xml_parse($xml_parser, $data, feof($fp))) {die(sprintf("xml error: %s at line %d\n", xml_error_string(xml_get_error_code($xml_parser)), xml_get_current_line_number($xml_parser)));}} print "/ pre"; print "parse complete\n"; xml_parser_free($xml_parser);?
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
Attenzione: contiene formattazione HTML nascosta
these classes are defined in the standard set of functions included in the php build.
prev
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
discussing all the files included in the php package is beyond the scope of this chapter. however, you should take a close look at the following files:
from php 4.0, it' s possible to compile these standard extensions as dynamic loadable modules (at least, those that support it).
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
you can include optimization options in the compilation command, although these have been omitted in this example (but some are included in the makefile template described in an earlier section).
you can include optimization options in the compilation command, although these have been omitted in this example (but some are included in the makefile template described in an earlier section).
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
a period followed by the number of digits (p) after the decimal character. if the value of p is 0 (zero), the decimal character and the digits to its right will be omitted. if no right precision is included, the default will dictated by the current local in use. the amount being formatted is rounded to the specified number of digits prior to formatting.
if no right precision is included, the default will dictated by the current local in use.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità: