PHP Base Library Documentation, Release phplib_7_2
Boris Erdmann, [email protected], Kristian
Koehntopp, [email protected] and Sascha Schumann,
[email protected]
$Id: documentation.sgml,v 1.1 2001/08/13 12:30:06
richardarcher 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 include() instead of auto_prepend_file=
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 nextid()
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 Auth class used usually?
3.9.6.2 How does $auth work internally?
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
______________________________________________________________________
[1m1. Quick Start[0m
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.
[1m1.1. License[0m
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.
[1m1.2. Target Group and Prerequisites[0m
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.
[1m1.3. Quick Guide to Installation[0m
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
【项目资源】:包含前端、后端、移动开发、操作系统、人工智能、物联网、信息化管理、数据库、硬件开发、大数据、课程资源、音视频、网站开发等各种技术项目的源码。包括STM32、ESP8266、PHP、QT、Linux、iOS、C++、Java、python、web、C#、EDA、proteus、RTOS等项目的源码。【项目质量】:所有源码都经过严格测试,可以直接运行。功能在确认正常工作后才上传。【适用人群】:适用于希望学习不同技术领域的小白或进阶学习者。可作为毕设项目、课程设计、大作业、工程实训或初期项目立项。【附加价值】:项目具有较高的学习借鉴价值,也可直接拿来修改复刻。对于有一定基础或热衷于研究的人来说,可以在这些基础代码上进行修改和扩展,实现其他功能。【沟通交流】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。鼓励下载和使用,并欢迎大家互相学习,共同进步。
资源推荐
资源详情
资源评论
收起资源包目录
[其他类别]phplib v7.4a_phplib-7.4a.rar (172个子文件)
CHANGES 31KB
COMMIT 705B
slapd.conf 90B
COPYING 24KB
CREDITS 3KB
.cvsignore 13B
.cvsignore 1B
do-conf 447B
HELP 335B
documentation-3.html 93KB
documentation-5.html 68KB
documentation-4.html 28KB
documentation-2.html 27KB
documentation-1.html 20KB
documentation.html 4KB
blob-1.html 3KB
documentation-6.html 2KB
blob.html 889B
crcloginform.ihtml 4KB
crloginform.ihtml 4KB
loginform.ihtml 2KB
u_row.ihtml 1KB
u_head.ihtml 774B
perminvalid.ihtml 691B
u_foot.ihtml 9B
table.inc 35KB
template.inc 34KB
layout_html.inc 23KB
query_sql.inc 22KB
db_odbc.inc 18KB
session.inc 16KB
session4.inc 16KB
sqlquery-eric.inc 14KB
db_oracle.inc 14KB
db_oci8.inc 13KB
local4.inc 11KB
db_mysql.inc 11KB
local.inc 11KB
oohforms.inc 10KB
auth4.inc 10KB
sqlquery.inc 9KB
auth.inc 9KB
menu.inc 8KB
tree.inc 7KB
tpl_form.inc 6KB
db_pgsql.inc 6KB
db_mssql.inc 5KB
db_msql.inc 5KB
db_xsl.inc 4KB
ct_sql.inc 4KB
db_sybase.inc 4KB
session4_custom.inc 4KB
cart.inc 4KB
ct_split_sql.inc 4KB
be_sql.inc 4KB
user4.inc 4KB
of_text.inc 3KB
of_select.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
user.inc 2KB
page4.inc 2KB
page.inc 2KB
setup.inc 2KB
of_radio.inc 2KB
ct_dbm.inc 2KB
ct_file.inc 2KB
db_updateable.inc 1KB
of_textarea.inc 1KB
csv_table.inc 992B
be_null.inc 851B
ct_null.inc 763B
of_file.inc 604B
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.mssql7 6KB
create_database.mysql 2KB
create_database.odbc 2KB
create_database.oracle 3KB
create_database.pgsql 1KB
db_admin.php 2KB
prepend.php 1KB
new_user_md5.php3 10KB
new_user.php3 8KB
showoff.php3 8KB
new_user_alt.php3 7KB
defauth.php3 3KB
view_sessions.php3 3KB
共 172 条
- 1
- 2
资源评论
心梓知识
- 粉丝: 6302
- 资源: 3万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 937712277954201实习5.word
- 2程序语言基础知识pdf1_1716337722703.jpeg
- 简单的Python示例,演示了如何使用TCP/IP协议进行基本的客户端和服务器通信
- 考试.sql
- keil2 + proteus + 8051.exe
- 1961ee27df03bd4595d28e24b00dde4e_744c805f7e4fb4d40fa3f695bfbab035_8(1).c
- mediapipe-0.9.0.1-cp37-cp37m-win-amd64.whl.zip
- windows注册表编辑工具
- mediapipe-0.9.0.1-cp37-cp37m-win-amd64.whl.zip
- 校园通行码预约管理系统20240522075502
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功