PHP Base Library Documentation, Release phplib_7_2
Boris Erdmann, boris@erdmann.com, Kristian K�hntopp,
kk@netuse.de and Sascha Schumann, sascha@schumann.cx
$Id: documentation.sgml,v 1.11 2000/02/24 23:33:02 sasha Exp
$
____________________________________________________________
Table of Contents
1. Quick Start
1.1 License
1.2 Target Group and Prerequisites
1.3 Quick Guide to Installation
1.4 Using core features of PHPLIB
1.5 Testing
2. Overview and Installation
2.1 Files, classes and functions
2.1.1 Customization
2.1.2 Core functionality
2.1.3 Extended functionality
2.1.4 HTML widgets
2.2 Downloading and unpacking the distribution
2.3 Requirements and things to check for
2.3.1 Interpreter requirements
2.3.2 Database requirements
2.3.3 Name space requirements
2.3.4 Year 2000 compliance statement
2.4 Installation procedure
2.5 Using
2.6 PHPLIB with mod_php (Apache module)
3. Core Functionality
3.1 DB_Sql
3.1.1 Instance variables
3.1.2 Instance methods
3.1.2.1 Accessible instance methods
3.1.2.2 Internal instance methods
3.1.3 Example
3.1.4 Additional information about database connections
3.1.5 Using
3.2 Page Management
3.2.1 Accessible Functions
3.2.2 Example
3.2.3 The "cart" feature is gone
3.3 CT_Sql
3.3.1 Instance variables
3.3.2 Example
3.4 CT_Split_Sql
3.4.1 Instance variables
3.4.2 Example
3.5 CT_Shm
3.5.1 Instance variables
3.5.2 Example
3.6 CT_Dbm
3.6.1 Instance variables
3.6.2 Example
3.7 CT_Ldap
3.7.1 Instance variables
3.7.2 Example
3.8 Session
3.8.1 Instance variables
3.8.2 Instance methods
3.8.2.1 Accessible instance methods
3.8.2.2 Internal instance methods
3.8.3 Example
3.8.4 Using "auto_init"
3.8.5 Unregistering variables and deleting sessions
3.8.6 Reading and understanding session data for debugging
3.8.7 How "serialize()" operates
3.9 Auth
3.9.1 Instance variables
3.9.2 Instance methods
3.9.2.1 Accessible instance methods
3.9.2.2 Internal instance methods
3.9.3 Example
3.9.4 Using default authentication
3.9.5 Using Challenge-Response Authentication
3.9.6 The complete guide to authentication and user variables
3.9.6.1 How is the
3.9.6.2 How does
3.9.6.3 How do $sess and $auth interact?
3.9.6.4 Where is the beef?
3.9.6.5 I still do not understand! What am I supposed to code?
3.9.6.6 Ok, I did that and it works. I even understood it. Now, what exactly is that uid used for?
3.9.6.7 But is the uid used internally by PHPLIB?
3.10 Perm
3.10.1 Instance variables
3.10.2 Instance methods
3.10.2.1 Accessible instance methods
3.10.2.2 Internal instance methods
3.10.3 Example
3.10.4 How permissions work
3.11 User
3.11.1 Instance variables
3.11.2 Instance methods
3.11.2.1 Accessible instance methods
3.11.2.2 Internal instance methods
3.11.3 Example
4. Extended functionality
4.1 Cart
4.1.1 Instance variables
4.1.2 Instance methods
4.1.2.1 Accessible instance methods
4.1.3 Example
4.1.4 On using Cart
4.2 Template
4.2.1 Instance variables
4.2.2 Instance methods
4.2.2.1 Accessible instance methods
4.2.2.2 Internal instance methods
4.2.3 Example
5. HTML Widgets Classes
5.1 Sql_Query
5.1.1 Instance variables
5.1.2 Instance methods
5.1.2.1 Accessible instance methods
5.1.2.2 Internal instance methods
5.1.3 Example
5.2 Table and CSV_Table
5.2.1 Instance variables
5.2.2 Instance methods
5.2.2.1 High-level instance methods
5.2.2.2 Mid-level instance methods
5.2.2.3 Low-level instance methods
5.2.3 Example
5.3 Menu
5.3.1 Instance variables
5.3.2 Instance methods
5.3.2.1 Accessible instance methods
5.3.2.2 Internal instance methods
5.3.3 Example
5.4 Form
5.4.1 Using OOH Forms
5.4.2 Customizing OOH Forms
5.5 tpl_form
5.5.1 Instance variables
5.5.2 Instance methods
5.5.2.1 Accessible instance methods
5.5.2.2 Internal instance methods
5.5.3 Example
5.6 Tree
5.6.1 Instance variables
5.6.2 Instance methods
5.6.2.1 Accessible instance methods
5.6.3 The Tree Array
5.6.4 Example
5.6.5 Known Bugs / Tips
5.7 STRINGS2 function set
6. Acknowledgments
______________________________________________________________________
11.. QQuuiicckk SSttaarrtt
The Quick Start chapter tries to give you a ten-minute introduction to
PHPLIB installation, outlines a few simple testing procedures and
closes with an overview of PHPLIB features.
11..11.. LLiicceennssee
PHPLIB consists of the files in this directory and all its
subdirectories. It is made available as free software under the
LIBRARY GNU General Public license, as spelled out in the file COPYING
in this directory. Also, it is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license
for more details.
11..22.. TTaarrggeett GGrroouupp aanndd PPrreerreeqquuiissiitteess
PHPLIB targets the PHP application developer. You need to have good
knowledge of the PHP language, at least basic SQL database knowhow and
at least basic knowledge on how to operate your web server to be able
to use the library.
The library will help you to write medium to large sized data-driven
web applications. "Medium to large sized applications" are
applications that consist of multiple database queries, have to
generate tables from database data, need a user interface that
generates SQL queries or need a comfortable and user-friendly way to
protect pages or functionality on pages. "Data-driven" applications
are applications that make use of a supported SQL-database to create
HTML content and that use HTML forms to drive database transactions.
To make use of the library you obviously need access to a web server
with a working installation of a current PHP interpreter (we recommend
3.0.12 or newer for this release of the library) and access to a
supported SQL database (currently, PHPLIB supports MySQL, PostgreSQL,
mSQL, Oracle 7 and Oracle 8, Sybase, Microsoft SQL Server and ODBC
databases). You need to be able to create and drop database tables in
that database and your web server must be able to execute SELECT,
INSERT, UPDATE and DELETE statements on these tables.
Throughout this manual, we assume that you are using the MySQL
database server. PHPLIB will run with any supported SQL server, but we
are using MySQL in the development of PHPLIB.
PHPLIB can be used in conjunction with the CGI version of PHP and with
mod_php, integrated into Apache. Usage of the CGI version has an
impact on overall speed, because you cannot take advantage of
persistent database connection. We recommend the Apache module over
the CGI version, although we personally use the CGI version for
various reasons (easier to update and can be run with Apache suexec).
PHP 4 is still in beta. We do not support deployment of this library
with beta software.
11
没有合适的资源?快使用搜索试试~ 我知道了~
phplib-7.2c.rar_phplib
共151个文件
inc:45个
sgml:42个
php3:13个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 48 浏览量
2022-09-22
16:31:22
上传
评论
收藏 398KB RAR 举报
温馨提示
PHPLOB注释详细版 使用模板技术的好帮手 PHP最有用的东东了
资源推荐
资源详情
资源评论
收起资源包目录
phplib-7.2c.rar_phplib (151个子文件)
CHANGES 24KB
COMMIT 705B
slapd.conf 90B
COPYING 24KB
CREDITS 3KB
.cvsignore 19B
.cvsignore 13B
do-conf 447B
HELP 233B
documentation-3.html 91KB
documentation-5.html 67KB
documentation-4.html 28KB
documentation-2.html 26KB
documentation-1.html 19KB
documentation.html 3KB
blob-1.html 2KB
documentation-6.html 2KB
blob.html 824B
crcloginform.ihtml 3KB
crloginform.ihtml 3KB
loginform.ihtml 1KB
u_row.ihtml 1KB
u_head.ihtml 774B
perminvalid.ihtml 670B
u_foot.ihtml 9B
table.inc 34KB
layout_html.inc 23KB
query_sql.inc 22KB
sqlquery-eric.inc 14KB
db_oracle.inc 13KB
session.inc 13KB
db_mysql.inc 10KB
sqlquery.inc 9KB
oohforms.inc 9KB
db_oci8.inc 9KB
template.inc 9KB
local.inc 9KB
auth.inc 9KB
tpl_form.inc 6KB
tree.inc 6KB
db_pgsql.inc 5KB
menu.inc 5KB
db_odbc.inc 5KB
ct_sql.inc 4KB
db_mssql.inc 4KB
cart.inc 4KB
ct_split_sql.inc 4KB
db_msql.inc 4KB
be_sql.inc 4KB
db_sybase.inc 3KB
of_select.inc 3KB
of_text.inc 3KB
perm.inc 2KB
db_usql.inc 2KB
strings2.inc 2KB
ct_shm.inc 2KB
ct_ldap.inc 2KB
of_checkbox.inc 2KB
tmpl_table.inc 2KB
page.inc 2KB
setup.inc 2KB
of_radio.inc 2KB
ct_dbm.inc 2KB
ct_file.inc 2KB
user.inc 1KB
of_textarea.inc 1KB
csv_table.inc 992B
be_null.inc 851B
ct_null.inc 763B
of_file.inc 596B
md5.js 9KB
ldap.ldif 291B
Makefile 2KB
Makefile 376B
README.md5_passwords 2KB
README.migrate_V7 1KB
create_database.msaccess95 7KB
create_database.msql 1010B
create_database.mssql60 3KB
create_database.mysql 2KB
create_database.odbc 2KB
create_database.oracle 3KB
create_database.pgsql 1KB
db_admin.php 2KB
new_user_md5.php3 9KB
new_user.php3 8KB
showoff.php3 8KB
new_user_alt.php3 6KB
view_sessions.php3 3KB
defauth.php3 2KB
probe.php3 2KB
table_select_js.php3 2KB
index.php3 2KB
migrate_to_md5.php3 2KB
prepend.php3 1KB
logout.php3 1KB
test.php3 646B
classdoctpl.pl 3KB
FAQ.ps 55KB
README 542B
共 151 条
- 1
- 2
资源评论
Kinonoyomeo
- 粉丝: 74
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功