Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
dom /
Delete
Unzip
Name
Size
Permission
Date
Action
.libs
[ DIR ]
drwxr-xr-x
2024-03-12 14:24
tests
[ DIR ]
drwxrwxr-x
2022-10-31 11:36
CREDITS
52
B
-rw-rw-r--
2022-10-31 11:36
attr.c
5.81
KB
-rw-rw-r--
2022-10-31 11:36
attr.lo
311
B
-rw-r--r--
2024-03-12 14:24
attr.o
99.89
KB
-rw-r--r--
2024-03-12 14:24
cdatasection.c
2.49
KB
-rw-rw-r--
2022-10-31 11:36
cdatasection.lo
335
B
-rw-r--r--
2024-03-12 14:24
cdatasection.o
85.23
KB
-rw-r--r--
2024-03-12 14:24
characterdata.c
9.74
KB
-rw-rw-r--
2022-10-31 11:36
characterdata.lo
338
B
-rw-r--r--
2024-03-12 14:24
characterdata.o
110.14
KB
-rw-r--r--
2024-03-12 14:24
comment.c
2.48
KB
-rw-rw-r--
2022-10-31 11:36
comment.lo
320
B
-rw-r--r--
2024-03-12 14:24
comment.o
85.09
KB
-rw-r--r--
2024-03-12 14:24
config.m4
1.25
KB
-rw-rw-r--
2022-10-31 11:36
config.w32
1.14
KB
-rw-rw-r--
2022-10-31 11:36
document.c
58.02
KB
-rw-rw-r--
2022-10-31 11:36
document.lo
323
B
-rw-r--r--
2024-03-12 14:24
document.o
256.94
KB
-rw-r--r--
2024-03-12 14:24
documentfragment.c
4.3
KB
-rw-rw-r--
2022-10-31 11:36
documentfragment.lo
347
B
-rw-r--r--
2024-03-12 14:24
documentfragment.o
90.15
KB
-rw-r--r--
2024-03-12 14:24
documenttype.c
5.51
KB
-rw-rw-r--
2022-10-31 11:36
documenttype.lo
335
B
-rw-r--r--
2024-03-12 14:24
documenttype.o
101.68
KB
-rw-r--r--
2024-03-12 14:24
dom_ce.h
3.39
KB
-rw-rw-r--
2022-10-31 11:36
dom_fe.h
10.49
KB
-rw-rw-r--
2022-10-31 11:36
dom_iterators.c
9.08
KB
-rw-rw-r--
2022-10-31 11:36
dom_iterators.lo
338
B
-rw-r--r--
2024-03-12 14:24
dom_iterators.o
104.88
KB
-rw-r--r--
2024-03-12 14:24
dom_properties.h
8.25
KB
-rw-rw-r--
2022-10-31 11:36
domconfiguration.c
3.32
KB
-rw-rw-r--
2022-10-31 11:36
domconfiguration.lo
347
B
-rw-r--r--
2024-03-12 14:24
domconfiguration.o
77.56
KB
-rw-r--r--
2024-03-12 14:24
domerror.c
3.22
KB
-rw-rw-r--
2022-10-31 11:36
domerror.lo
323
B
-rw-r--r--
2024-03-12 14:24
domerror.o
79.62
KB
-rw-r--r--
2024-03-12 14:24
domerrorhandler.c
2.2
KB
-rw-rw-r--
2022-10-31 11:36
domerrorhandler.lo
344
B
-rw-r--r--
2024-03-12 14:24
domerrorhandler.o
76.18
KB
-rw-r--r--
2024-03-12 14:24
domexception.c
3.43
KB
-rw-rw-r--
2022-10-31 11:36
domexception.lo
335
B
-rw-r--r--
2024-03-12 14:24
domexception.o
82.43
KB
-rw-r--r--
2024-03-12 14:24
domimplementation.c
7.91
KB
-rw-rw-r--
2022-10-31 11:36
domimplementation.lo
350
B
-rw-r--r--
2024-03-12 14:24
domimplementation.o
97.34
KB
-rw-r--r--
2024-03-12 14:24
domimplementationlist.c
2.43
KB
-rw-rw-r--
2022-10-31 11:36
domimplementationlist.lo
362
B
-rw-r--r--
2024-03-12 14:24
domimplementationlist.o
79.84
KB
-rw-r--r--
2024-03-12 14:24
domimplementationsource.c
2.9
KB
-rw-rw-r--
2022-10-31 11:36
domimplementationsource.lo
368
B
-rw-r--r--
2024-03-12 14:24
domimplementationsource.o
76.97
KB
-rw-r--r--
2024-03-12 14:24
domlocator.c
2.91
KB
-rw-rw-r--
2022-10-31 11:36
domlocator.lo
329
B
-rw-r--r--
2024-03-12 14:24
domlocator.o
79.38
KB
-rw-r--r--
2024-03-12 14:24
domstringlist.c
2.33
KB
-rw-rw-r--
2022-10-31 11:36
domstringlist.lo
338
B
-rw-r--r--
2024-03-12 14:24
domstringlist.o
79.76
KB
-rw-r--r--
2024-03-12 14:24
element.c
34.53
KB
-rw-rw-r--
2022-10-31 11:36
element.lo
320
B
-rw-r--r--
2024-03-12 14:24
element.o
170.13
KB
-rw-r--r--
2024-03-12 14:24
entity.c
4.18
KB
-rw-rw-r--
2022-10-31 11:36
entity.lo
317
B
-rw-r--r--
2024-03-12 14:24
entity.o
93.54
KB
-rw-r--r--
2024-03-12 14:24
entityreference.c
2.67
KB
-rw-rw-r--
2022-10-31 11:36
entityreference.lo
344
B
-rw-r--r--
2024-03-12 14:24
entityreference.o
85.67
KB
-rw-r--r--
2024-03-12 14:24
namednodemap.c
9.89
KB
-rw-rw-r--
2022-10-31 11:36
namednodemap.lo
335
B
-rw-r--r--
2024-03-12 14:24
namednodemap.o
97.97
KB
-rw-r--r--
2024-03-12 14:24
namelist.c
2.74
KB
-rw-rw-r--
2022-10-31 11:36
namelist.lo
323
B
-rw-r--r--
2024-03-12 14:24
namelist.o
80.4
KB
-rw-r--r--
2024-03-12 14:24
node.c
46.67
KB
-rw-rw-r--
2022-10-31 11:36
node.lo
311
B
-rw-r--r--
2024-03-12 14:24
node.o
218.23
KB
-rw-r--r--
2024-03-12 14:24
nodelist.c
5.36
KB
-rw-rw-r--
2022-10-31 11:36
nodelist.lo
323
B
-rw-r--r--
2024-03-12 14:24
nodelist.o
90.8
KB
-rw-r--r--
2024-03-12 14:24
notation.c
2.57
KB
-rw-rw-r--
2022-10-31 11:36
notation.lo
323
B
-rw-r--r--
2024-03-12 14:24
notation.o
89.34
KB
-rw-r--r--
2024-03-12 14:24
php_dom.c
59.72
KB
-rw-rw-r--
2022-10-31 11:36
php_dom.h
5.93
KB
-rw-rw-r--
2022-10-31 11:36
php_dom.lo
320
B
-rw-r--r--
2024-03-12 14:24
php_dom.o
308.54
KB
-rw-r--r--
2024-03-12 14:24
processinginstruction.c
4.17
KB
-rw-rw-r--
2022-10-31 11:36
processinginstruction.lo
362
B
-rw-r--r--
2024-03-12 14:24
processinginstruction.o
95.63
KB
-rw-r--r--
2024-03-12 14:24
string_extend.c
2.67
KB
-rw-rw-r--
2022-10-31 11:36
string_extend.lo
338
B
-rw-r--r--
2024-03-12 14:24
string_extend.o
76.8
KB
-rw-r--r--
2024-03-12 14:24
text.c
6.29
KB
-rw-rw-r--
2022-10-31 11:36
text.lo
311
B
-rw-r--r--
2024-03-12 14:24
text.o
97.77
KB
-rw-r--r--
2024-03-12 14:24
typeinfo.c
2.1
KB
-rw-rw-r--
2022-10-31 11:36
typeinfo.lo
323
B
-rw-r--r--
2024-03-12 14:24
typeinfo.o
76.01
KB
-rw-r--r--
2024-03-12 14:24
userdatahandler.c
1.99
KB
-rw-rw-r--
2022-10-31 11:36
userdatahandler.lo
344
B
-rw-r--r--
2024-03-12 14:24
userdatahandler.o
75.76
KB
-rw-r--r--
2024-03-12 14:24
xml_common.h
3.36
KB
-rw-rw-r--
2022-10-31 11:36
xpath.c
15.04
KB
-rw-rw-r--
2022-10-31 11:36
xpath.lo
314
B
-rw-r--r--
2024-03-12 14:24
xpath.o
138.91
KB
-rw-r--r--
2024-03-12 14:24
Save
Rename
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | | http://www.php.net/license/3_01.txt | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Christian Stocker <chregu@php.net> | | Rob Richards <rrichards@php.net> | | Marcus Borger <helly@php.net> | +----------------------------------------------------------------------+ */ #ifndef PHP_DOM_H #define PHP_DOM_H extern zend_module_entry dom_module_entry; #define phpext_dom_ptr &dom_module_entry #ifdef ZTS #include "TSRM.h" #endif #include <libxml/parser.h> #include <libxml/parserInternals.h> #include <libxml/tree.h> #include <libxml/uri.h> #include <libxml/xmlerror.h> #include <libxml/xinclude.h> #include <libxml/hash.h> #include <libxml/c14n.h> #if defined(LIBXML_HTML_ENABLED) #include <libxml/HTMLparser.h> #include <libxml/HTMLtree.h> #endif #if defined(LIBXML_XPATH_ENABLED) #include <libxml/xpath.h> #include <libxml/xpathInternals.h> #endif #if defined(LIBXML_XPTR_ENABLED) #include <libxml/xpointer.h> #endif #ifdef PHP_WIN32 #ifndef DOM_EXPORTS #define DOM_EXPORTS #endif #endif #include "xml_common.h" #include "ext/libxml/php_libxml.h" #include "zend_exceptions.h" #include "dom_ce.h" /* DOM API_VERSION, please bump it up, if you change anything in the API therefore it's easier for the script-programmers to check, what's working how Can be checked with phpversion("dom"); */ #define DOM_API_VERSION "20031129" /* Define a custom type for iterating using an unused nodetype */ #define DOM_NODESET XML_XINCLUDE_START typedef struct _dom_xpath_object { int registerPhpFunctions; HashTable *registered_phpfunctions; HashTable *node_list; dom_object dom; } dom_xpath_object; static inline dom_xpath_object *php_xpath_obj_from_obj(zend_object *obj) { return (dom_xpath_object*)((char*)(obj) - XtOffsetOf(dom_xpath_object, dom) - XtOffsetOf(dom_object, std)); } #define Z_XPATHOBJ_P(zv) php_xpath_obj_from_obj(Z_OBJ_P((zv))) typedef struct _dom_nnodemap_object { dom_object *baseobj; zval baseobj_zv; int nodetype; xmlHashTable *ht; xmlChar *local; xmlChar *ns; } dom_nnodemap_object; typedef struct { zend_object_iterator intern; zval curobj; HashPosition pos; } php_dom_iterator; #include "dom_fe.h" dom_object *dom_object_get_data(xmlNodePtr obj); dom_doc_propsptr dom_get_doc_props(php_libxml_ref_obj *document); zend_object *dom_objects_new(zend_class_entry *class_type); zend_object *dom_nnodemap_objects_new(zend_class_entry *class_type); #if defined(LIBXML_XPATH_ENABLED) zend_object *dom_xpath_objects_new(zend_class_entry *class_type); #endif int dom_get_strict_error(php_libxml_ref_obj *document); void php_dom_throw_error(int error_code, int strict_error); void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error); void node_list_unlink(xmlNodePtr node); int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len); xmlNsPtr dom_get_ns(xmlNodePtr node, char *uri, int *errorcode, char *prefix); void dom_set_old_ns(xmlDoc *doc, xmlNs *ns); xmlNsPtr dom_get_nsdecl(xmlNode *node, xmlChar *localName); void dom_normalize (xmlNodePtr nodep); xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index); void php_dom_create_implementation(zval *retval); int dom_hierarchy(xmlNodePtr parent, xmlNodePtr child); int dom_has_feature(char *feature, char *version); int dom_node_is_read_only(xmlNodePtr node); int dom_node_children_valid(xmlNodePtr node); void php_dom_create_interator(zval *return_value, int ce_type); void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns); xmlNodePtr create_notation(const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID); xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index); xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index); zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref); void dom_set_doc_classmap(php_libxml_ref_obj *document, zend_class_entry *basece, zend_class_entry *ce); zval *dom_nodelist_read_dimension(zval *object, zval *offset, int type, zval *rv); int dom_nodelist_has_dimension(zval *object, zval *member, int check_empty); #define REGISTER_DOM_CLASS(ce, name, parent_ce, funcs, entry) \ INIT_CLASS_ENTRY(ce, name, funcs); \ ce.create_object = dom_objects_new; \ entry = zend_register_internal_class_ex(&ce, parent_ce); #define DOM_GET_OBJ(__ptr, __id, __prtype, __intern) { \ __intern = Z_DOMOBJ_P(__id); \ if (__intern->ptr == NULL || !(__ptr = (__prtype)((php_libxml_node_ptr *)__intern->ptr)->node)) { \ php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(__intern->std.ce->name));\ RETURN_NULL();\ } \ } #define DOM_NO_ARGS() \ if (zend_parse_parameters_none() == FAILURE) { \ return; \ } #define DOM_NOT_IMPLEMENTED() \ php_error_docref(NULL, E_WARNING, "Not yet implemented"); \ return; #define DOM_NODELIST 0 #define DOM_NAMEDNODEMAP 1 PHP_MINIT_FUNCTION(dom); PHP_MSHUTDOWN_FUNCTION(dom); PHP_MINFO_FUNCTION(dom); #endif /* PHP_DOM_H */