当前位置:首页 > 工业技术
PHP4.0程序员参考
PHP4.0程序员参考

PHP4.0程序员参考PDF电子书下载

工业技术

  • 电子书积分:18 积分如何计算积分?
  • 作 者:希望图书创作室编译
  • 出 版 社:北京:北京希望电子出版社
  • 出版年份:2000
  • ISBN:7900049150
  • 页数:650 页
图书介绍:PHP是Linux web服务器端、与Microsoft ASP类似的一种脚本编程语言。PHP 4.0是在2000年5月份发布的最新版本。在高性能的Linux Web服务器平台上, PHP以其容易学习和使用、并且具有强大的功能逐步深得LinuxWeb程序员人心,是选用Linux作为操作系统时服务器端编程的首选。本书平而介绍了 PHP的发展历史,在 Windows和 Linux操作系统上的安装和配置,详尽的语言语法介绍,以及完全的函数参考。其中,函数参考是全书的主要内容,并且涵盖了 PHP 4.0所有新增函数。本书适合初级、中级、高级的 PHP程序员,也适合其他脚本编程语言,比如 Perl、 ASP、 JSP的程员参考,同时,对于网站所有从业人员,比如网页制作人员、Webmaster及其他管理人员参考。本书配合光盘是与本书配套的电子书。
《PHP4.0程序员参考》目录

第一部分 入门 3

第1章 简介 3

什么是PHP? 3

PHP能做什么? 3

PHP历史简介 4

第2章 安装 5

下载最新版本 5

UNIX系统下的安装 5

快速安装简介(Apache模块版本) 5

配置 6

Apache module 6

fhttpd module 6

CGI version 7

数据库支持选项 7

Adabas D 7

dBase 7

filePro 7

mSQL 7

MySQL 8

iODBC 8

OpenLink ODBC 8

Oracle 8

PostgreSQL 8

Solid 9

Sybase 9

Sybase-CT 9

Velocis 9

A custom ODBC library 9

LDAP 10

其他配置选项 10

创建 13

测试 13

标准程序 13

Windows 95/98/NT系统下的安装 13

安装步骤概要 13

Windows 95/98/NT和PWS/IIS 3 14

Windows NT和IIS 4 15

Windows 9x/NT和Apache 1.3.x 15

Omni HTTPd 2.0b1 for Windows 16

PHP模块 16

问题 17

阅读FAQ(常见问题解答) 17

错误报告 17

其他问题 17

第3章 配置 18

配置文件 18

常用配置提示 18

邮件配置语句 21

安全模式配置语句 22

调试器配置语句 22

扩展加载语句 22

MySQL配置语句 22

mSQL配置语句 23

Postgres配置语句 23

Sybase配置语句 23

Sybase-CT配置语句 23

Informix配置语句 24

BC Math配置语句 25

Browser Capability配置语句 25

Unified ODBC配置语句 25

第4章 安全 27

CGI 二进制 27

Apache 模块 29

第二部分 语言参考 33

第5章 基本语法 33

HTML转义 33

语句分隔 33

注释 33

第6章 数据类型 35

整型 35

浮点型数字 35

字符串 35

字符串转化 36

数组 36

一维数组 37

多维数组 37

对象 38

类型自动转化 39

类型转换 39

第7章 变量 40

变量作用域 40

可变变量 42

PHP之外的变量 42

IMAGE SUBMIT变量名 43

HTTP Cookies 43

环境变量 44

变量类型的决定 44

第8章 常量 45

第9章 表达式 47

第10章 操作数 50

运算符 50

字符串运算符 50

赋值运算符 50

位运算符 51

逻辑运算符 51

比较运算符 51

运算符优先权 52

第11章 控制结构 54

if 54

else 54

elseif 55

while 56

do..while 57

for 57

break 59

continue 59

switch 59

require 61

include 61

第12章 函数 63

用户自定义函数 63

返回值 63

函数参数 63

通过引用传递参数 64

缺省参数值 64

old_function 65

第13章 类和对象 66

class 66

第三部分 特性 71

第14章 错误处理 71

第15章 创建GIF图像 72

第16章 PHP的HTTP认证 73

第17章 Cookies 75

第18章 处理文件上载 76

POST方式的上载 76

常见缺陷 77

上载多个文件 77

支持PUT方法 77

第19章 使用远程文件 79

第20章 连接处理 81

第21章 永久性数据库连接 82

为什么 82

第四部分 函数参考(一) 87

Ⅰ Adabas D函数 87

ada_afetch 87

ada_autocommit 87

ada_close 87

ada_commit 87

ada_connect 88

ada_exec 88

ada_fetchrow 88

ada_fieldname 88

ada_fieldnum 89

ada_fieldtype 89

ada_freeresult 89

ada_numfields 89

ada_numrows 90

ada_result 90

ada_resultall 90

ada_rollback 90

Ⅱ Apache专用函数 91

apache_lookup_uri 91

apache_note 92

Getallheaders 92

Virtual 93

Ⅲ 数组函数 94

Array 94

array_push 94

array_pop 95

array_unshift 95

array_shift 96

array_slice 96

array_splice 97

array_merge 98

array_keys 99

array_values 99

array_walk 100

Arsort 100

Asort 101

Compact 102

Count 102

Current 103

each 103

end 104

extract 105

in_array 106

key 106

ksort 107

list 107

next 108

pos 108

prey 109

range 109

reset 109

rsort 110

shuffle 110

sizeof 111

sort 111

uasort 111

uksort 112

usort 112

Ⅳ Aspell函数 114

aspell_new 114

aspell_check 114

aspell_check_raw 115

aspell_suggest 115

Ⅴ 任意精确度的数学函数 116

bcadd 116

bccomp 116

bcdiv 116

bcmod 117

bcmul 117

bcpow 117

bcscale 118

bcsqrt 118

bcsub 118

Ⅵ 日历函数 119

JDToGregorian 119

GregorianToJD 119

JDToJulian 120

JulianToJD 120

JDTojewish 120

JewishToJD 121

JDToFrench 121

FrenchToJD 121

JDMonthName 122

JDDavOfWeek 122

easter_date 123

easter_days 123

Ⅶ ClibPDF函数 125

cpdf_set_creator 128

cpdf_set_title 128

cpdf_set_subject 129

cpdf_set_keywords 129

cpdf_open 129

cpdf_close 130

cpdf_page_init 130

cpdf_finalize_page 130

cpdf_finalize 131

cpdf_output_buffer 131

cpdf_save_to_file 131

cpdf_set_current_page 132

cpdf_begin_text 132

cpdf_end_text 132

cpdf_show 133

cpdf_show_xy 133

cpdf_text 134

cpdf_set_font 134

cpdf_set_leading 134

cpdf_set_text_rendering 135

cpdf_set_horiz_scaling 135

cpdf_set_text_rise 135

cpdf_set_text_matrix 136

cpdf_set_text_pos 136

cpdf_set_char_spacing 136

cpdf_set_word_spacing 137

cpdf_continue_text 137

cpdf_stringwidth 137

cpdf_save 138

cpdf_restore 138

cpdf_translate 138

cpdf_scale 139

cpdf_rotate 139

cpdf_setflat 139

cpdf_setlinejoin 140

cpdf_setlinecap 140

cpdf_setmiterlimit 140

cpdf_setlinewidth 140

cpdf_setdash 141

cpdf_moveto 141

cpdf_rmoveto 141

cpdf_curveto 142

cpdf_lineto 142

cpdf_rlineto 142

cpdf_circle 143

cpdf_arc 143

cpdf_rect 144

cpdf_closepath 144

cpdf_stroke 144

cpdf_closepath_stroke 145

cpdf_fill 145

cpdf_fill_stroke 145

cpdf_closepath_fill_stroke 146

cpdf_clip 146

cpdf_setgray_fill 146

cpdf_setgray_stroke 147

cpdf_setgray 147

cpdf_setrgbcolor_fill 147

cpdf_setrgbcolor_stroke 148

cpdf_setrgbcolor 148

cpdf_add_outline 148

cpdf_set_page_animation 149

cpdf_import_jpeg 149

cpdf_place_inline_image 150

cpdf_add_annotation 150

Ⅷ Date和Time函数 151

Checkdate 151

Date 151

strftime 152

gmstrftime 154

returndate 154

returntimeofday 155

gmdate 155

mktime 156

gmmktime 156

time 157

microtime 157

Ⅸ 数据库(dbm-型)抽象层函数 158

dba_close 159

dba_delete 160

dba_exists 160

dba_fetch 160

dba_firstkey 161

dba_insert 161

dba_nextkey 162

dba_popen 162

dba_open 163

dba_optimize 163

dba_replace 163

dba_sync 164

Ⅹ dBase函数 165

dbase_create 165

dbase_open 166

dbase_close 166

dbase_pack 167

dbase_add_record 167

dbase_replace_record 167

dbase_delete_record 168

dbase_return_record 168

dbase_return_record_with_names 168

dbase_numfields 169

dbase_numrecords 169

Ⅺ dbm函数 170

dbmopen 170

dbmclose 171

dbmexists 171

dbmfetch 171

dbminsert 171

dbmreplace 172

dbmdelete 172

dbmfirstkey 172

dbmnextkey 173

dblist 173

Ⅻ 目录函数 174

chdir 174

dir 174

closedir 175

opendir 175

readdir 175

rewinddir 176

ⅩⅢ 动态加载函数 177

dl 177

ⅩⅣ 程序执行函数 178

escapeshellcmd 178

exec 178

system 179

passthru 179

ⅩⅤ 表单数据格式函数 180

fdf_open 181

fdf_close 182

fdf_create 182

fdf_save 183

fdf_return_value 183

fdf_set_value 183

fdf_next_field_name 184

fdf_set_ap 184

fdf_set_status 184

fdf_get_status 185

fdf_set_file 185

fdf_get_file 185

ⅩⅥ FILEPRO函数 186

filepro 186

filepro_fieldname 186

filepro_fieldtype 186

filepro_fieldwidth 187

filepro_retrieve 187

filepro_fieldcount 187

filepro_rowcount 187

ⅩⅦ 文件系统函数 189

basename 189

chgrp 189

chmod 190

chown 190

clearstatcache 190

copy 191

delete 191

dirname 192

diskfreespace 192

fclose 192

feof 193

fgetc 193

fgetcsv 193

fgets 194

fgetss 195

file 195

file_exists 195

fileatime 196

filectime 196

filegroup 196

fileinode 197

filemtime 197

fileowner 197

fileperms 197

filesize 198

filetype 198

flock 198

fopen 199

fpassthru 200

fputs 200

fread 201

fseek 201

ftell 202

fwrite 202

set_file_buffer 202

is_dir 203

is_executable 203

is_file 203

is_link 204

is_readable 204

is_writeable 204

Link 205

linkinfo 205

mkdir 205

pclose 206

popen 206

readfile 207

readlink 207

rename 208

rewind 208

rmdir 208

stat 209

lstat 209

symlink 210

tempnam 210

touch 211

umask 211

unlink 212

ⅩⅧ FTP函数 213

ftp_connect 213

ftp_login 213

ftp_pwd 213

ftp_cdup 214

ftp_chdir 214

fftp_mkdir 214

ftp_rmdir 214

ftp_nlist 215

ftp_rawlist 215

ftp_systype 215

ftp_pasv 216

ftp_get 216

ftp_fget 216

ftp_put 217

ftp_fput 217

ftp_size 217

ftp_mdtm 218

ftp_rename 218

ftp_delete 218

ftp_quit 218

ⅩⅨ HTTP函数 220

header 220

setcookie 220

ⅩⅩ HYPERWAVE函数 222

介绍 222

与Apache的综合 224

混乱 225

hw_Array2Objrec 226

hw_Children 226

hw_ChildrenObj 226

hw_Close 226

hw_Connect 227

hw_Cp 227

hw_Deleteobject 228

hw_DocByAnchor 228

hw_DocByAnchorObj 228

hw_DocumentAttributes 228

hw_DocumentBodyTag 229

hw_DocumentContent 229

hw_DocumentSetContent 229

hw_DocumentSize 230

hw_ErrorMsg 230

hw_EditText 230

hw_Error 231

hw_Free_Document 231

hw_GetParents 231

hw_GetParentsObj 231

hw_GetChildColl 232

hw_GetChildCollObj 232

hw_GetRemote 232

hw_GetRemoteChildren 233

hw_GetSrcByDestObj 233

hw_GetObject 234

HW_GETANDLOCK 234

hw_GetText 235

hw_GetObjectByQuery 235

hw_GetObjectByQueryObj 236

hw_GetObjectByQueryColl 236

hw_GetObjectByQueryCollObj 236

hw_GetChildDocColl 237

hw_GetChildDocCollObj 237

hw_GetAnchors 237

hw_GetAnchorsObj 238

hw_Mv 238

hw_Identify 238

hw_InCollections 239

hw_Info 239

hw_InsColl 239

hw_InsDoc 240

hw_InsertDocument 240

hw_InsertObject 240

hw_mapid 241

hw_Modifyobject 241

hw_New_Document 243

hw_Objrec2Array 243

hw_OutputDocument 244

hw_pConnect 244

hw_PipeDocument 244

hw_Root 245

hw_Unlock 245

hw_Who 245

hw_Usemame 246

ⅩⅪ 图像函数 247

GetImageSize 247

ImageArc 248

ImageChar 248

ImageCharUp 248

ImageColorAllocate 249

ImageColorAt 249

ImageColorClosest 249

ImageColorExact 250

ImageColorResolve 250

ImageColorSet 250

ImageColorsForIndex 251

ImageColorsTotal 251

ImageColorTransparent 251

ImageCopyResized 252

ImageCreate 252

ImageCreateFromGif 252

ImageDashedLine 253

ImageDestroy 253

ImageFill 254

ImageFilledPolygon 254

ImageFilledRectangle 254

ImageFillToBorder 254

ImageFontHeight 255

ImageFontWidth 255

ImageGif 255

ImageInterlace 256

ImageLine 256

ImageLoadFont 256

ImagePolygon 257

ImagePSBBox 257

ImagePSEncodeFont 258

ImagePSFreeFont 258

ImagePSLoadFont 259

ImagePSText 259

ImageRectangle 260

ImageSetPixel 260

ImageString 261

ImageStringUp 261

ImageSX 261

ImageSY 262

ImageTTFBBox 262

ImageTTFText 263

ⅩⅫ IMAP函数 265

imap_append 265

imap_base64 265

imap_body 266

imap_check 266

imap_close 266

imap_createmailbox 267

imap_delete 267

imap_deletemailbox 267

imap_expunge 268

imap_fetchbody 268

imap_fetchstructure 268

imap_header 269

imap_headers 271

imap_listmailbox 271

imap_getmailboxes 271

imap_listsubscribed 272

imap_getsubscribed 272

imap_mail_copy 272

imap_mail_move 273

imap_num_msg 273

imap_num_recent 273

imap_open 274

imap_ping 274

imap_renamemailbox 275

imap_reopen 275

imap_subscribe 275

imap_undelete 276

imap_unsubscribe 276

imap_qprint 276

imap_8bit 276

imap_binary 277

imap_scanmailbox 277

imap_mailboxmsginfo 277

imap_rfc822_write_address 278

imap_rfc822_parse_adrlist 278

imap_setflag_full 279

imap_clearflag_full 279

imap_sort 279

imap_fetchheader 280

imap_uid 280

imap_msgno 281

imap_search 281

imap_last_error 282

imap_errors 282

imap_alerts 283

imap_status 283

ⅩⅩⅢ PHP选项和信息 284

error_log 284

error_reporting 285

extension_loaded 285

getenv 286

get_cfg_var 286

get_current_user 286

get_magic_quotes_gpc 287

get_magic_quotes_runtime 287

getlastmod 287

getmyinode 288

getmypid 288

getmyuid 288

Getrusage 289

phpinfo 289

phpversion 289

putenv 290

set_magic_quotes_runtime 290

set_time_limit 291

ⅩⅩⅣ INFORMIX函数 292

ifx_connect 293

ifx_pconnect 294

ifx_close 294

ifx_query 295

ifx_prepare 296

ifx_do 297

ifx_error 298

ifx_errormsg 298

ifx_affected_rows 299

ifx_getsqlca 299

ifx_fetch_row 300

ifx_htmltbl_result 301

ifx_fieldtypes 302

ifx_fieldproperties 303

ifx_num_fields 303

ifx_num_rows 304

ifx_free_result 304

ifx_create_char 304

ifx_free_char 304

ifx_update_char 305

ifx_get_char 305

ifx_create_blob 305

ifx_copy_blob 306

ifx_free_blob 306

ifx_get_blob 306

ifx_update_blob 306

ifx_blobinfile_mode 307

ifx_textasvarchar 307

ifx_byteasvarchar 307

ifx_nullformat 308

ifxus_create_slob 308

ifx_free_slob 308

ifxus_close_slob 309

ifxus_open_slob 309

ifxus_tell_slob 309

ifxus_seek_slob 309

ifxus_read_slob 310

ifxus_write_slob 310

ⅩⅩⅤ INTERBASE函数 311

ibase_connect 311

ibase_pconnect 311

ibase_close 311

ibase_query 311

ibase_fetch_row 312

ibase_free_result 312

ibase_prepare 312

ibase_bind 312

ibase_execute 313

ibase_free_query 313

ibase_timefmt 313

ⅩⅩⅥ LDAP函数 314

LDAP介绍 314

完整代码实例 314

使用PHP LDAP调用 315

更多信息 316

ldap_add 316

ldap_mod_add 317

ldap_mod_del 317

ldap_mod_replace 318

ldap_bind 318

ldap_close 318

ldap_connect 319

ldap_count_entries 319

ldap_delete 320

ldap_dn2ufn 320

ldap_explode_dn 320

ldap_first_attribute 321

ldap_first_entry 321

ldap_free_result 321

ldap_get_attributes 322

ldap_get_dn 323

ldap_get_entries 323

ldap_get_values 324

ldap_get_values_len 325

ldap_list 325

ldap_modify 326

ldap_next_attribute 326

ldap_next_entry 327

ldap_read 327

ldap_search 327

ldap_unbind 328

ldap_err2str 329

ldap_errno 329

ldap_error 330

第四部分 函数参考(二) 331

Ⅰ Mail函数 331

mail 331

Ⅱ Mathematical函数 332

介绍 332

Abs 332

Acos 332

Asin 333

Atan 333

Atan2 333

base_convert 334

BinDec 334

Ceil 334

Cos 335

DecBin 335

DecHex 335

DecOct 336

Exp 336

Floor 336

getrandmax 337

HexDec 337

Log 337

LoglO 338

max 338

min 338

mt_rand 339

mt_srand 339

mt_getrandmax 340

number_forrnat 340

OctDec 340

pi 341

pow 341

rand 341

round 342

Sin 342

Sqrt 342

srand 343

Tan 343

Ⅲ MCAL函数 344

mcal_open 344

mcal_close 345

mcal_fetch_event 345

mcal_listmcal_events 346

mcal_store_event 346

mcal_delete_event 346

mcal_snooze 347

mcal_list_alarms 347

mcal_event_init 347

mcal_event_set_category 348

mcal_event_set_title 348

mcal_event_set_description 348

mcal_event_set_start 348

mcal_event_set_end 349

mcal_event_set_alarm 349

mcal_event_set_class 349

mcal_is_leap_year 350

mcal_days_in_month 350

mcal_date_valid 350

mcal_time_valid 350

mcal_day_of_week 351

mcal_day_of_year 351

mcal_date_compare 351

mcal_next_recurrence 351

mcal_event_set_recur_daily 352

mcal_event_set_recur_weekly 352

mcal_event_set_recur_monthly_mday 352

mcal_event_set_recur_monthly_wday 353

mcal_event_set_recur_yearly 353

mcal_fetch_current_stream_event 353

Ⅳ 加密函数 355

mcrypt_get_cipher_name 356

mcrypt_get_block_size 357

mcrypt_get_key_size 357

mcrypt_create_iv 358

mcrypt_cbc 358

mcrypt_cfb 359

mcrypt_ecb 359

mcrypt_ofb 360

Ⅴ 哈希函数(hash) 361

mhash_get_hash_name 362

mhash_get_block_size 362

mhash_count 362

mhash 363

Ⅵ 杂项函数 364

connection_aborted 364

connection_status 364

connection_timeout 364

define 365

defined 365

die 366

eval 366

exit 367

function_exists 367

get_browser 367

ignore_user_abort 369

iptcparse 369

leak 369

pack 370

register_shutdown_function 371

serialize 371

sleep 372

uniqid 372

unpack 373

unserialize 374

usleep 374

Ⅶ mSQL函数 376

msql 376

msql_affected_rows 376

msql_close 376

msql_connect 377

msql_create_db 377

msql_createdb 377

msql_data_seek 378

msql_dbname 378

msql_drop_db 378

msql_dropdb 379

msql_error 379

msql_fetch_array 379

msql_fetch_field 380

msql_fetch_object 380

msql_fetch_row 381

msql_fieldname 381

msql_field_seek 381

msql_fieldtable 382

msql_fieldtype 382

msql_fieldflags 382

msql_fieldlen 383

msql_free_result 383

msql_freeresult 383

msql_list_fields 383

msql_listfields 384

msql_list_dbs 384

msql_listdbs 384

msql_list_tables 385

msql_listtables 385

msql_num_fields 385

msql_num_rows 385

msql_numfields 386

msql_numrows 386

msql_pconnect 386

msql_query 387

msql_regcase 387

msql_result 387

msql_select_db 388

msql_selectdb 388

msql_tablename 388

Ⅷ Microsoft SQL Server函数 390

mssql_close 390

mssql_connect 390

mssql_data_seek 391

mssql_fetch_array 391

mssql_fetch_field 391

mssql_fetch_object 392

mssql_fetch_row 392

mssql_field_seek 393

mssql_free_result 393

mssql_num_fields 393

mssql_num_rows 394

mssql_pconnect 394

mssql_query 394

mssql_result 395

mssql_select_db 395

Ⅸ MySQL函数 397

mysql_affected_rows 397

mysql_close 397

mysql_connect 398

mysql_create_db 398

mysql_data_seek 399

mysql_db_query 399

mysql_drop_db 399

mysql_errno 400

mysql_error 400

mysql_fetch_array 401

mysql_fetch_field 401

mysql_fetch_lengths 402

mysql_fetch_object 403

mysql_fetch_row 403

mysql_field_name 404

mysql_field_seek 404

mysql_field_table 404

mysql_field_type 405

mysql_field_flags 406

mysql_field_len 406

mysql_free_result 406

mysql_insert_id 407

mysql_list_fields 407

mysql_list_dbs 407

mysql_list_tables 408

mysql_num_fields 408

mysql_num_rows 408

mysql_pconnect 409

mysql_query 409

mysql_result 410

mysql_select_db 411

mysql_tablename 411

Ⅹ Sybase函数 413

sybase_affected_rows 413

sybase_close 413

sybase_connect 414

sybase_data_seek 414

sybase_fetch_array 414

sybase_fetch_field 415

sybase_fetch_object 415

sybase_fetch_row 416

sybase_field_seek 416

sybase_free_result 417

sybase_num_fields 417

sybase_num_rows 417

sybase_pconnect 418

sybase_query 418

sybase_result 418

sybase_select_db 419

Ⅺ Network函数 420

checkdnsrr 420

closelog 420

debugger_off 420

debugger_on 421

fsockopen 421

gethostbyaddr 422

gethostbyname 422

gethostbynamel 422

getmxrr 423

openlog 423

pfsockopen 424

set_socket_blocking 424

syslog 424

Ⅻ NIS函数 425

yp_get_default_domain 425

yp_order 426

yp_master 426

yp_match 427

yp_first 427

yp_next 428

yp_errno 429

yp_err_string 429

ⅩⅢ ODBC函数 431

odbc_autocommit 431

odbc_binmode 431

odbc_close 432

odbc_close_all 432

odbc_commit 433

odbc_connect 433

odbc_cursor 434

odbc_do 434

odbc_exec 434

odbc_execute 435

odbc_fetch_into 435

odbc_fetch_row 435

odbc_field_name 436

odbc_field_type 436

odbc_field_len 436

odbc_free_result 437

odbc_longreadlen 437

odbc_num_fields 437

odbc_pconnect 438

odbc_prepare 438

odbc_num_rows 438

odbc_result 439

odbc_result_all 439

odbc_rollback 440

odbc_setoption 440

ⅩⅣ Oracle 8函数 442

OCIDefineByName 442

OCIBindByName 443

OCILogon 445

OCIPLogon 447

OCILogOff 449

OCIExecute 450

OCICommit 450

OCIRollback 450

OCINewDescriptor 451

OCIRowCount 452

OCINumCols 453

OCIResult 454

OCIFetch 454

OCIFetchInto 454

OCIFetchStatement 455

OCIColumnlsNULL 456

OCIColumnSize 456

OCIServerVersion 458

OCIStatementType 458

OCINewCursor 459

OCIFreeStatement 461

OCIFreeCursor 461

OCIColumnName 461

OCIColumnType 462

OCIParse 463

OCIError 463

OCIInternalDebug 464

ⅩⅤ Oracle函数 465

Ora_Bind 465

Ora_Close 465

Ora_ColumnName 466

Ora_ColumnType 466

Ora_Commit 467

Ora_CommitOff 467

Ora_CommitOn 467

Ora_Error 468

Ora_ErrorCode 468

Ora_Exec 468

Ora_Fetch 469

Ora_GetColumn 469

Ora_Logoff 469

Ora_Logon 470

Ora_Open 470

Ora_Parse 470

Ora_Rollback 471

ⅩⅥ Perl-compatible常规表达函数 472

preg_match 472

preg_match_all 473

preg_replace 474

preg_split 475

preg_quote 475

preg_grep 476

Pattern Modifiers 476

Pattern_Syntax 478

与Perl的区别 478

ⅩⅦ PDF函数 493

PDF_get_info 497

PDF_set_info_creator 498

PDF_set_info_title 498

PDF_set_info_subject 499

PDF_set_info_keywords 499

PDF_set_info_author 500

PDF_open 500

PDF_close 500

PDF_begin_page 501

PDF_end_page 501

PDF_show 502

PDF_show_xy 502

PDF_set_font 502

PDF_set_leading 503

PDF_set_text_rendering 503

PDF_set_horiz_scaling 503

PDF_set_text_rise 504

PDF_set_text_matrix 504

PDF_set_text_pos 504

PDF_set_char_spacing 504

PDF_set_word_spacing 505

PDF_continue_text 505

PDF_stringwidth 505

PDF_save 506

PDF_restore 506

PDF_translate 506

PDF_scale 507

PDF_rotate 507

PDF_setflat 508

PDF_setlinejoin 508

PDF_setlinecap 508

PDF_setmiterlimit 508

PDF_setlinewidth 509

PDF_setdash 509

PDF_moveto 509

PDF_curveto 509

PDF_lineto 510

PDF_circle 510

PDF_arc 510

PDF_rect 511

PDF_closepath 511

PDF_stroke 511

PDF_closepath_stroke 512

PDF_fill 512

PDF_fill_stroke 512

PDF_closepath_fill_stroke 513

PDF_endpath 513

PDF_clip 513

PDF_setgray_fill 513

PDF_setgray_stroke 514

PDF_setgray 514

PDF_setrgbcolor_fill 514

PDF_setrgbcolor_stroke 515

PDF_setrgbcolor 515

PDF_add_outline 515

PDF_set_transition 516

PDF_set_duration 516

PDF_open_gif 516

PDF_open_memory_image 517

PDF_open_jpeg 518

PDF_close_image 518

PDF_place_image 518

PDF_put_image 519

PDF_execute_image 519

pdf_add_annotation 520

ⅩⅧ PostgreSQL函数 521

pg_Close 522

pg_cmdTuples 522

pg_Connect 523

pg_DBname 523

pg_ErrorMessage 523

pg_Exec 524

pg_Fetch_Array 524

pg_Fetch_Object 525

pg_Fetch_Row 527

pg_FieldIsNull 528

pg_FieldName 528

pg_FieldNum 528

pg_FieldPrtLen 528

pg_FieldSize 529

pg_FieldType 529

pg_FreeResult 529

pg_GetLastOid 530

pg_Host 530

pg_loclose 530

pg_locreate 530

pg_loopen 531

pg_loread 531

pg_loreadall 531

pg_lounlink 532

pg_lowrite 532

pg_NumFields 532

pg_NumRows 533

pg_Options 533

pg_pConnect 533

pg_Port 534

pg_Result 534

pg_tty 534

ⅩⅨ POSIX函数 535

POSIX_KILL 535

POSIX_GETPID 535

POSIX_GETPPID 535

POSIX_GETUID 536

POSIX_GETEUID 536

POSIX_GETGID 536

POSIX_GETEGID 536

POSIX_SETUID 537

POSIX_SETGID 537

POSIX_GETGROUPS 537

POSIX_GETLOGIN 538

POSIX_GETPGRP 538

POSIX_SETSID 538

POSIX_SETPGID 539

POSIX_SETSID 539

POSIX_UNAME 539

POSIX_TIMES 540

POSIX_CTERMID 540

POSIX_TTYNAME 540

POSIX_ISATTY 541

POSIX_GETCWD 541

POSIX_MKFIFO 541

POSIX_GETGRNAM 541

POSIX_GETGRGID 542

POSIX_GETPWNAM 542

POSIX_GETPWUID 542

POSIX_GETRLIMIT 542

ⅩⅩ 常规表达式函数 543

ereg 544

ereg_replace 544

eregi 545

eregi_replace 545

split 546

sql_regcase 546

ⅩⅪ 信号量(Semaphore)及共享函数 547

sem_get 547

sem_acquire 548

sem_release 548

shm_attach 548

shm_detach 549

shm_remove 549

shm_put_var 549

shm_get_var 550

shm_remove_var 550

ⅩⅫ 对话处理函数 551

session_start 552

session_destroy 552

session_name 553

session_module_name 553

session_save_path 554

session_id 554

session_register 554

session_unregister 555

session_is_registered 555

session_decode 555

session_encode 556

ⅩⅩⅢ Solid函数 557

solid_close 557

solid_connect 557

solid_exec 557

solid_fetchrow 557

solid_fieldname 558

solid_fieldnum 558

solid_freeresult 558

solid_numfields 558

solid_numrows 559

solid_result 559

ⅩⅩⅣ SNMP函数 560

snmpget 560

snmpset 560

snmpwalk 561

snmpwalkoid 561

snmp_get_quick_print 562

snmp_set_quick_print 562

ⅩⅩⅤ 字符串函数 564

AddCSlashes 564

AddSlashes 564

bin2hex 565

Chop 565

Chr 565

chunk_split 566

convert_cyr_string 566

crypt 567

echo 567

explode 568

flush 568

get_meta_tags 569

htmlentities 569

htmlspecialchars 570

implode 570

join 571

ltrim 571

md5 571

Metaphone 571

nl2br 572

Ord 572

parse_str 573

print 573

printf 573

quoted_printable_decode 574

QuoteMeta 574

rawurldecode 574

rawurlencode 575

setlocale 575

similar_text 576

soundex 576

sprintf 577

strcasecmp 578

strchr 578

strcmp 579

strcspn 579

strip_tags 579

StripCSlashes 580

StripSlashes 580

strstr 580

stristr 581

strlen 581

strpos 581

strrchr 582

str_repeat 582

strrev 583

strrpos 583

strspn 583

strstr 584

strtok 584

strtolower 585

strtoupper 585

str_replace 585

strtr 586

substr 586

trim 587

ucfirst 587

ucwords 587

ⅩⅩⅥ URL函数 589

base64_decode 589

base64_encode 589

parse_url 589

urldecode 590

urlencode 590

ⅩⅩⅦ Variable函数 592

doubleval 592

empty 592

gettype 592

intval 593

is_array 593

is_double 593

is_float 594

is_int 594

is_integer 594

is_long 595

is_object 595

is_real 595

is_string 595

isset 596

settype 596

strval 597

unset 597

ⅩⅩⅧ Vmailmgr函数 598

vm_adduser 598

vm_addalias 598

vm_passwd 599

vm_delalias 599

vm_deluser 599

ⅩⅩ WDDX函数 600

wddx_serialize_value 601

wddx_serialize_vars 601

wddx_packet_start 602

wddx_packet_end 602

wddx_add_vars 602

wddx_deserialize 603

ⅩⅩⅩ 压缩函数 604

示例代码 604

gzclose 605

gzeof 605

gzfile 605

gzgetc 606

gzgets 606

gzgetss 606

gzopen 607

gzpassthru 607

gzputs 608

gzread 608

gzrewind 608

gzseek 609

gztell 609

gzwrite 609

readgzfile 610

ⅩⅩⅪ XML解析函数 611

介绍 611

一些实例 614

xml_parser_create 620

xml_set_element_handler 620

xml_set_character_data_handler 621

xml_set_processing_instruction_handler 622

xml_set_default_handler 623

xml_set_unparsed_entity_decl_handler 623

xml_set_notation_decl_handler 624

xml_set_external_entity_ref_handler 625

xml_parse 626

xml_get_error_code 627

xml_error_string 627

xml_get_current_line_number 627

xml_get_current_column_number 628

xml_get_current_byte_index 628

xml_parser_free 628

xml_parser_set_option 629

xml_parser_get_option 629

utf8_decode 630

utf8_encode 630

第五部分 附录 633

附录A 从PHP/FI 2.0升级到PHP 3.0 633

3.0中不兼容的部分 633

Start/end标志 633

if.endif语法 634

while语法 634

表达式类型 635

变化了的错误消息 635

短流程布尔计算 635

函数真/假返回值 636

其他不兼容问题 636

附录B PHP开发 638

在PHP3中增加函数 638

调用用户函数 647

报告错误 648

附录C PHP调试器 649

使用调试器 649

调试器协议 649

相关图书
作者其它书籍
返回顶部