Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
php /
doc /
XML_Parser /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
xml_parser_file.php
1.03
KB
-rw-r--r--
xml_parser_file.xml
87
B
-rw-r--r--
xml_parser_funcmode.php
875
B
-rw-r--r--
xml_parser_handler.php
1022
B
-rw-r--r--
xml_parser_simple1.php
1.11
KB
-rw-r--r--
xml_parser_simple1.xml
207
B
-rw-r--r--
xml_parser_simple2.php
1.33
KB
-rw-r--r--
xml_parser_simple2.xml
152
B
-rw-r--r--
xml_parser_simple_handler.php
1.3
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : xml_parser_simple_handler.php
<?PHP /** * example for XML_Parser_Simple * * $Id: xml_parser_simple_handler.php 159611 2004-05-25 13:26:42Z schst $ * * @author Stephan Schmidt <schst@php-tools.net> * @package XML_Parser * @subpackage Examples */ /** * require the parser */ require_once 'XML/Parser/Simple.php'; class myHandlerSimple { /** * handle the category element * * The element will be handled, once it's closed * * @access private * @param string name of the element * @param array attributes of the element * @param string character data of the element */ function handleElement_category($name, $attribs, $data) { printf( 'Category is %s<br />', $data ); } /** * handle the name element * * The element will be handled, once it's closed * * @access private * @param string name of the element * @param array attributes of the element * @param string character data of the element */ function handleElement_name($name, $attribs, $data) { printf( 'Name is %s<br />', $data ); } } $p = &new XML_Parser_Simple(); $h = &new myHandlerSimple(); $p->setHandlerObj($h); $result = $p->setInputFile('xml_parser_simple2.xml'); $p->setMode('func'); $result = $p->parse(); ?>
Close