PHP100
所属分类:WEB开发
开发工具:PHP
文件大小:1016KB
下载次数:12
上传日期:2008-06-13 16:18:04
上 传 者:
aceblues
说明: PHP编程一百例,对初学者挺好的。可以下载看一下。
(PHP Programming 100 cases, quite good for beginners. Can be downloaded to look at.)
文件列表:
PHP编程一百例\PHP100 (0, 2006-05-29)
PHP编程一百例\中国IT认证实验室学习下载频道.txt (983, 2004-09-09)
PHP编程一百例\实例100\100.BMP (1372854, 2004-09-09)
PHP编程一百例\实例100\100.PHP (19937, 2004-09-09)
PHP编程一百例\实例100\AUDIO.GIF (927, 2004-09-09)
PHP编程一百例\实例100\BROWSE.GIF (963, 2004-09-09)
PHP编程一百例\实例100\DELETE.GIF (85, 2004-09-09)
PHP编程一百例\实例100\EDIT.GIF (969, 2004-09-09)
PHP编程一百例\实例100\ENV.GIF (954, 2004-09-09)
PHP编程一百例\实例100\EXPLORE.GIF (943, 2004-09-09)
PHP编程一百例\实例100\FOLDER.GIF (899, 2004-09-09)
PHP编程一百例\实例100\HELP.GIF (941, 2004-09-09)
PHP编程一百例\实例100\IMAGE.GIF (947, 2004-09-09)
PHP编程一百例\实例100\MOVE.GIF (871, 2004-09-09)
PHP编程一百例\实例100\PARENT.GIF (79, 2004-09-09)
PHP编程一百例\实例100\SECURITY.GIF (939, 2004-09-09)
PHP编程一百例\实例100\TEXT.GIF (895, 2004-09-09)
PHP编程一百例\实例100\TOUCH.GIF (921, 2004-09-09)
PHP编程一百例\实例100\WEBPAGE.GIF (977, 2004-09-09)
PHP编程一百例\实例100\webscript.gif (977, 2004-09-09)
PHP编程一百例\实例100 (0, 2006-05-29)
PHP编程一百例\实例24\24.BMP (232462, 2004-09-09)
PHP编程一百例\实例24\24.PHP (209, 2004-09-09)
PHP编程一百例\实例24 (0, 2006-05-29)
PHP编程一百例\实例25\25.BMP (270138, 2004-09-09)
PHP编程一百例\实例25\25.PHP (488, 2004-09-09)
PHP编程一百例\实例25 (0, 2006-05-29)
PHP编程一百例\实例26\26.BMP (494646, 2004-09-09)
PHP编程一百例\实例26\26.PHP (427, 2004-09-09)
PHP编程一百例\实例26 (0, 2006-05-29)
PHP编程一百例\实例27\27.BMP (494646, 2004-09-09)
PHP编程一百例\实例27\27.PHP (500, 2004-09-09)
PHP编程一百例\实例27 (0, 2006-05-29)
PHP编程一百例\实例28\28.BMP (494646, 2004-09-09)
PHP编程一百例\实例28\28.PHP (427, 2004-09-09)
PHP编程一百例\实例28 (0, 2006-05-29)
PHP编程一百例\实例29\29.BMP (494646, 2004-09-09)
PHP编程一百例\实例29\29.PHP (877, 2004-09-09)
PHP编程一百例\实例29 (0, 2006-05-29)
... ...
***************************************************************
* PHP目录树 *
***************************************************************
文件列表:
- index.html
- about.html
- demo.php3 演示目录树
- demomenu.txt 目录结构
- treemenu.inc 主目录节点
- tree_*.gif 七个目录树图片
- readme.txt 介绍文件
要求:
- 配有php的WEB服务器.
演示:
- 将文件拷贝到WEB服务器目录下
- 在浏览器中打开index.html
概述:
目录结构文件
-----------------------
我们首先需要产生一个目录树结构文件,这是一个常见的TEXT文本文件(见demomenu.txt),
第一行是一个单结点(根目录),紧其后是该结点的名称,.The following lines contain the menu items. Each line starts with
two or more dots to indicate the level in the tree. A level can't
be more than one level deeper than the previous one. Following the
dots come the item name, link and link target, seperated by a '|'.
If an item doesn't need to link to somewhere then the link and
target can be omitted. Item names can contain HTML code,
for example you can put tags around a name to make it bold or
you could even use images instead of text, there are all kinds of
possibilities.
An example menu will probably clarify a lot so here it is:
目录是例::
.top
..category 1
...item 1.1|item11.html|main
...item 1.2|item12.html|main
..category 2
...sub category 2.1
....item 2.1.1|item211.html|main
....item 2.2.2
引用文件:
---------------
当建立一个新的目录结构文件后,我就可以向下面这样简单的引用。:
变量$treefile 来指定目录结构的文件名,如果路径步特别说明,它将默认跟php文件在同一目录下。
ok!
-----------
现在保存所有的文件在WEB服务器的同一目录下,所后在浏览器上看看!
近期下载者:
相关文件:
收藏者: