一个基于mysql的登陆验证程序(二)
新闻发布系统(例子)二dbconn
使用PHPLIB进行Session的管理和认证(转载)
用PHP3作树型目录(4)
UltraEdit支持php文档特殊显示的配置(基本的)
在Linux下访问MSSQLServer数据库(转载)
给WIN98下使用APACHE的弟兄们的一个好东西:ApacheManager,不会再有那个DOS窗口了!
关于在FreeBSD上安装GD库的问题解决。(兼回西狂兄)
转贴:开发大型PHP项目的方法(一)
转贴:开发大型PHP项目的方法(五) 
页面导航:
正文内容:
非常不好意思,没时间翻译,只好直接贴出来了
dom xml functions
these functions are only available if php was configured with --with-dom=[dir], using the gnome xml library. you will need at least libxml-2.0.0 (the beta version will not work). these functions have been added in php4.
this module defines the following constants:
table 1. xml constants
constant value description
xml_element_node 1
xml_attribute_node 2
xml_text_node 3
xml_cdata_section_node 4
xml_entity_ref_node 5
xml_entity_node 6
xml_pi_node 7
xml_comment_node 8
xml_document_node 9
xml_document_type_node 10
xml_document_frag_node 11
xml_notation_node 12
xml_global_namespace 1
xml_local_namespace 2
this module defines a number of classes. the dom xml functions return a parsed tree of the xml document with each node being an object belonging to one of these classes.
xmldoc
(php4 >= 4.0b4)
xmldoc -- creates a dom object of an xml document
description
object xmldoc (string str)
the function parses the xml document in str and returns an object of class "dom document", having the properties "doc" (resource), "version" (string) and "type" (long).
xmldocfile
(php4 >= 4.0b4)
xmldocfile -- creates a dom object from xml file
description
object xmldocfile (string filename)
the function parses the xml document in the file named filename and returns an object of class "dom document", having the properties "doc" (resource), "version" (string).
xmltree
(php4 >= 4.0b4)
xmltree -- creates a tree of php objects from xml document
description
object xmltree (string str)
the function parses the xml document in str and returns a tree php objects as the parsed document.