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_funcmode.php
<?PHP /** * Example for the func-mode * * @author Stephan Schmidt <schst@php-tools.net> * @package XML_Parser * @subpackage Examples */ /** * require the parser */ require_once '../Parser.php'; class myParser extends XML_Parser { function xmltag_foo_bar($xp, $name, $attribs) { print "handle start foo-bar\n"; } function xmltag_foo_bar_($xp, $name) { print "handle end foo-bar\n"; } function xmltag_foo($xp, $name) { print "handle start foo\n"; } function xmltag_foo_($xp, $name) { print "handle end foo\n"; } } $p = &new myParser(null, 'func'); $result = $p->setInputString('<foo><foo-bar/></foo>'); if (PEAR::isError($result)) { print $result->getMessage() . "\n"; } $result = $p->parse(); if (PEAR::isError($result)) { print $result->getMessage() . "\n"; } ?>
Close