php manual.doc 3731KB Mar 13 2003 03 - Who Dah?

towerdevelopmentData Management

Dec 16, 2012 (5 years and 21 days ago)

1,300 views








PHP Manual



Stig Sæther Bakken

Alexander Aulbach

Egon Schmid

Jim Winstead

Lars Torben Wilson

Rasmus Lerdorf

Zeev Suraski

Andrei Zmievski

Edited by

Stig Sæther Bakken

Egon Schmid








PHP Manual

by

Stig Sæther Bakken, Alexander Aulbach, Egon Schmid, Jim Wins
tead, Lars Torben Wilson, Rasmus Lerdorf,
Zeev Suraski, and Andrei Zmievski

by


Edited by

Stig Sæther Bakken

Edited by

Egon Schmid

Published 20
-
08
-
2000

Copyright

©

1997, 1998, 1999, 2000 by the PHP Documentation Group

Copyright


This manual is © Copyright
1997, 1998, 1999, 2000 by the PHP Documentation Group. The members of this group
are listed
on the front page of this manual
.


This manual can be redistributed under the terms of the GNU General Public License as published by

the Free
Software Foundation; either version 2 of the License, or (at your option) any later version.






i

Table of Contents

Preface

................................
................................
................................
................................
........................

i

About this Ma
nual

................................
................................
................................
..............................

i

I. Getting Started

................................
................................
................................
................................
......

2

1. Introduction

................................
................................
................................
................................
...

3

What is PHP?

................................
................................
................................
...........................

4

What can PHP do?

................................
................................
................................
...................

4

A brief history of PHP

................................
................................
................................
.............

5

2. Installation

................................
................................
................................
................................
.....

6

Downloading the latest version

................................
................................
...............................

7

Installation on UNIX systems

................................
................................
................................
..

7

Quick Installation Instructions (Apache Module Version)

................................
............

7

Apache Module

................................
................................
................................
..............

8

fhttpd Module
................................
................................
................................
.................

9

CGI version

................................
................................
................................
....................

9

Database Support Options

................................
................................
..............................

9

Adabas D

................................
................................
................................
..............

9

dBase

................................
................................
................................
....................

9

filePro

................................
................................
................................
...................

9

IBM DB2

................................
................................
................................
............

10

mSQL

................................
................................
................................
.................

10

MySQL

................................
................................
................................
...............

10

iODBC

................................
................................
................................
................

10

OpenLink ODBC

................................
................................
................................

11

Oracle

................................
................................
................................
.................

11

Postgr
eSQL

................................
................................
................................
........

11

Solid

................................
................................
................................
...................

11

Sybase

................................
................................
................................
.................

11

Sybase
-
CT

................................
................................
................................
..........

12

Velocis

................................
................................
................................
................

12

A custom ODBC library

................................
................................
.....................

12

Unified ODBC

................................
................................
................................
....

12

LDAP

................................
................................
................................
.................

13

Other configure options

................................
................................
...............................

13

--
with
-
mcrypt
=DIR

................................
................................
............................

13

--
enable
-
sysvsem

................................
................................
................................

13

--
enable
-
sysvshm

................................
................................
................................

13

--
with
-
xml

................................
................................
................................
...........

14

--
enable
-
maintainer
-
mode

................................
................................
..................

14

--
with
-
system
-
regex

................................
................................
............................

14

--
with
-
config
-
file
-
path

................................
................................
........................

14

--
with
-
exec
-
dir

................................
................................
................................
....

14

--
enable
-
debug

................................
................................
................................
....

14

--
enable
-
safe
-
mode

................................
................................
.............................

15






ii

--
enable
-
track
-
vars

................................
................................
..............................

15

--
enable
-
magic
-
quotes

................................
................................
........................

15

-
-
enable
-
debugger

................................
................................
...............................

15

--
enable
-
discard
-
path

................................
................................
..........................

15

--
enable
-
bcmath

................................
................................
................................
..

16

--
enable
-
force
-
cgi
-
redirect

................................
................................
..................

16

--
disable
-
short
-
tags

................................
................................
.............................

16

--
enable
-
url
-
includes
................................
................................
...........................

16

--
disable
-
syntax
-
hl

................................
................................
..............................

17

CPPFLAGS and LDFLAGS

................................
................................
...............

17

Building

................................
................................
................................
.......................

17

Testing

................................
................................
................................
.........................

17

Benchmarking

................................
................................
................................
..............

17

Installation on Windows 95/98/NT systems

................................
................................
..........

17

General Installation Steps

................................
................................
............................

18

Windows 95/98/NT and PWS/IIS 3

................................
................................
.............

18

Windows NT an
d IIS 4

................................
................................
................................

19

Windows 9x/NT and Apache 1.3.x

................................
................................
..............

20

Omni HTTPd 2.0b1 for Windows

................................
................................
................

20

PHP Modules

................................
................................
................................
...............

20

Problems?

................................
................................
................................
..............................

21

Read the FAQ

................................
................................
................................
..............

21

Bug reports

................................
................................
................................
...................

21

Other problems
................................
................................
................................
.............

22

3. Configuration

................................
................................
................................
..............................

23

The configuration file

................................
................................
................................
............

24

General Configuration Directives

................................
................................
................

24

Mail Configuration Directives

................................
................................
.....................

28

Safe Mode Configuration Directives

................................
................................
...........

28

Debugger Configur
ation Directives

................................
................................
.............

28

Extension Loading Directives

................................
................................
......................

29

MySQL Configuration Directives

................................
................................
................

29

mSQL Configuration Directives

................................
................................
..................

29

Postgres Configuration Directives

................................
................................
...............

30

Sybase Configuration Directives

................................
................................
..................

30

Sybase
-
CT Configuration Directives

................................
................................
...........

30

Informix Configuration Directives

................................
................................
...............

31

BC Math Configurat
ion Directives

................................
................................
..............

32

Browser Capability Configuration Directives

................................
..............................

32

Unified ODBC Configuration Directives

................................
................................
.....

32

4. Security

................................
................................
................................
................................
.......

33

CGI binary

................................
................................
................................
.............................

34

Possible attacks

................................
................................
................................
............

34

Case 1: only public files served

................................
................................
...................

35

Case 2: using
--
enable
-
force
-
cgi
-
redirect

................................
................................
.....

35

Case 3: setting doc_root or user_dir

................................
................................
.............

35

Case 4: PHP parser outside of web tree

................................
................................
.......

36

Apache module

................................
................................
................................
......................

36






iii

II. Language Reference

................................
................................
................................
..........................

37

5
. Basic syntax

................................
................................
................................
................................

38

Escaping from HTML

................................
................................
................................
...........

39

Instruction separation

................................
................................
................................
............

39

Comments

................................
................................
................................
..............................

39

6. Types

................................
................................
................................
................................
...........

41

Integers

................................
................................
................................
................................
..

42

Floating point numbers

................................
................................
................................
..........

42

Strings

................................
................................
................................
................................
....

43

String conversion

................................
................................
................................
.........

45

Arrays

................................
................................
................................
................................
....

46

Single Dimension A
rrays

................................
................................
.............................

46

Multi
-
Dimensional Arrays

................................
................................
...........................

46

Objects

................................
................................
................................
................................
...

48

Object Initialization

................................
................................
................................
.....

48

Type Juggling

................................
................................
................................
........................

49

Type Casting

................................
................................
................................
................

50

7. Variables

................................
................................
................................
................................
.....

52

Basics

................................
................................
................................
................................
....

53

Predefined variables

................................
................................
................................
..............

54

Apache variables

................................
................................
................................
..........

57

Environment variables

................................
................................
................................
.

57

PHP variables

................................
................................
................................
...............

57

Variable scope

................................
................................
................................
.......................

57

Variable variables

................................
................................
................................
..................

60

Variables from outside PHP

................................
................................
................................
..

60

HTML Fo
rms (GET and POST)

................................
................................
..................

62

IMAGE SUBMIT variable names

................................
................................
......

61

HTTP Cookies

................................
................................
................................
.............

62

Environment variables

................................
................................
................................
.

62

Dots in incoming variable names

................................
................................
.................

62

Determining variable types

................................
................................
..........................

63

8. Constants

................................
................................
................................
................................
.....

64

9. Expressions

................................
................................
................................
................................
.

67

10. Operators

................................
................................
................................
................................
...

71

Arithmetic Operators

................................
................................
................................
.............

72

Assignment Operators

................................
................................
................................
...........

72

Bitwise Operators

................................
................................
................................
..................

73

Comparison Operators

................................
................................
................................
...........

73

Error control Operators

................................
................................
................................
..........

74

Execution Operators

................................
................................
................................
..............

74

Incrementing/Decrementing Operators

................................
................................
.................

75

Logical Operators

................................
................................
................................
..................

76

Operator Precedence

................................
................................
................................
..............

76

Str
ing Operators
................................
................................
................................
.....................

77

11. Control Structures

................................
................................
................................
.....................

78

if

................................
................................
................................
................................
...........

79






iv

else

................................
................................
................................
................................
......

79

elseif

................................
................................
................................
................................
..

80

Alternative syntax for control structures

................................
................................
...............

80

while

................................
................................
................................
................................
....

81

do..while

................................
................................
................................
............................

82

for

................................
................................
................................
................................
........

83

foreach

................................
................................
................................
................................

84

break

................................
................................
................................
................................
....

86

continue

................................
................................
................................
..............................

87

switch

................................
................................
................................
................................
..

88

require()

................................
................................
................................
................................

90

include()

................................
................................
................................
................................

91

require_once()

................................
................................
................................
......................

94

include_once()

................................
................................
................................
......................

97

12. Functions

................................
................................
................................
................................
...

98

User
-
defined functions

................................
................................
................................
..........

99

Function arguments

................................
................................
................................
...............

99

Making arguments be passed by reference

................................
................................
..

99

Default argument values

................................
................................
............................

100

Variable
-
length argument lists

................................
................................
...................

101

Returning values

................................
................................
................................
..................

101

old_function

................................
................................
................................
...................

102

Variable functions

................................
................................
................................
...............

102

13. Classes and Objects

................................
................................
................................
.................

104

class

................................
................................
................................
................................
..

105

14. References explained

................................
................................
................................
..............

108

What are references?

................................
................................
................................
...........

109

What references do?

................................
................................
................................
............

109

What references ar
en't?

................................
................................
................................
........

109

Returning references

................................
................................
................................
............

110

Unsetting references

................................
................................
................................
............

110

Spotting the reference

................................
................................
................................
..........

110

global

................................
................................
................................
......................

110

$this

................................
................................
................................
.........................

111

III. Features
................................
................................
................................
................................
...........

112

15. Error handling

................................
................................
................................
.........................

113

16. Creating and manipulating images

................................
................................
..........................

116

17. HTTP authentication with PHP

................................
................................
...............................

118

18. Cookies

................................
................................
................................
................................
...

121

19. Handling file uploads

................................
................................
................................
..............

123

POST method uploads

................................
................................
................................
.........

124

Common Pitfalls

................................
................................
................................
..................

125

Uploading m
ultiple files

................................
................................
................................
......

125

PUT method support

................................
................................
................................
............

125

20. Using remote files

................................
................................
................................
...................

127

21. Connection handling

................................
................................
................................
...............

130

22. Persistent da
tabase connections

................................
................................
..............................

132






v

IV. Function Reference

................................
................................
................................
........................

135

I. Apache
-
specific Functions

................................
................................
................................
.........

136

apache_lookup_uri

................................
................................
................................
..............

137

apache_note

................................
................................
................................
.........................

137

getal
lheaders

................................
................................
................................
........................

138

virtual

................................
................................
................................
................................
..

138

II. Array Functions

................................
................................
................................
........................

139

array

................................
................................
................................
................................
.....

140

array_count_values

................................
................................
................................
..............

140

array_diff

................................
................................
................................
.............................

141

array_flip

................................
................................
................................
.............................

141

array_inte
rsect

................................
................................
................................
.....................

142

array_keys

................................
................................
................................
...........................

142

array_merge

................................
................................
................................
.........................

143

array_merge_recursive

................................
................................
................................
........

143

array_multisort

................................
................................
................................
....................

144

array_pad

................................
................................
................................
.............................

145

array_pop

................................
................................
................................
.............................

146

array_push

................................
................................
................................
...........................

146

array_
rand

................................
................................
................................
............................

147

array_reverse

................................
................................
................................
.......................

1
47

array_shift

................................
................................
................................
............................

148

array_slice

................................
................................
................................
...........................

148

array_splice

................................
................................
................................
.........................

149

array_unique

................................
................................
................................
........................

150

array_unshift

................................
................................
................................
........................

150

array_values

................................
................................
................................
.........................

151

array_walk

................................
................................
................................
...........................

151

arsort

................................
................................
................................
................................
....

152

asort

................................
................................
................................
................................
.....

153

compact

................................
................................
................................
...............................

154

count

................................
................................
................................
................................
....

155

current

................................
................................
................................
................................
..

155

each

................................
................................
................................
................................
......

156

end

................................
................................
................................
................................
.......

157

extract

................................
................................
................................
................................
..

158

in_array

................................
................................
................................
................................

159

key

................................
................................
................................
................................
.......

159

krsort

................................
................................
................................
................................
....

160

ksort

................................
................................
................................
................................
.....

160

list

................................
................................
................................
................................
........

161

next

................................
................................
................................
................................
......

162

pos

................................
................................
................................
................................
.......

162

prev

................................
................................
................................
................................
......

163

range

................................
................................
................................
................................
....

163

reset

................................
................................
................................
................................
.....

163

r
sort

................................
................................
................................
................................
......

164






vi

shuffle

................................
................................
................................
................................
..

164

sizeof

................................
................................
................................
................................
...

165

sort

................................
................................
................................
................................
.......

165

uasort

................................
................................
................................
................................
...

166

uksort

................................
................................
................................
................................
...

166

usort

................................
................................
................................
................................
.....

167

III. Aspell functions

................................
................................
................................
......................

170

aspell_new

................................
................................
................................
...........................

171

aspell_check

................................
................................
................................
........................

171

aspell_check
-
raw

................................
................................
................................
.................

172

aspell_suggest

................................
................................
................................
......................

172

IV. BCMath Arbitrary Precision Mathematics Functions

................................
.............................

173

bcad
d

................................
................................
................................
................................
...

174

bccomp

................................
................................
................................
................................

174

bcdiv

................................
................................
................................
................................
....

174

bcmod

................................
................................
................................
................................
..

174

bcmul

................................
................................
................................
................................
...

175

bcpow

................................
................................
................................
................................
..

175

bcscale

................................
................................
................................
................................
.

175

bcsqrt

................................
................................
................................
................................
...

175

bcsub

................................
................................
................................
................................
....

176

V. Calendar functions

................................
................................
................................
...................

177

JDToGregorian

................................
................................
................................
....................

178

GregorianToJD

................................
................................
................................
....................

178

JDToJulian

................................
................................
................................
...........................

179

JulianToJD

................................
................................
................................
...........................

179

JDToJewish

................................
................................
................................
.........................

179

JewishToJD

................................
................................
................................
.........................

179

JDToFrench

................................
................................
................................
.........................

180

FrenchToJD

................................
................................
................................
.........................

180

JDMonthName

................................
................................
................................
....................

180

JDDayOfWeek

................................
................................
................................
....................

181

easter_date

................................
................................
................................
...........................

181

easter_days

................................
................................
................................
..........................

182

unixtojd

................................
................................
................................
................................

183

jdtounix

................................
................................
................................
................................

183

VI. CCVS API Functions

................................
................................
................................
..............

184


................................
................................
................................
................................
.............

185

VII. COM support functions for Windows

................................
................................
...................

186

com_load

................................
................................
................................
.............................

187

com_invoke

................................
................................
................................
.........................

187

com_propget

................................
................................
................................
........................

187

com_get

................................
................................
................................
...............................

187

com_propput

................................
................................
................................
........................

187

com_propset

................................
................................
................................
........................

188

com_set

................................
................................
................................
................................

188

VIII. Class/Object Functions

................................
................................
................................
.........

189

get_class

................................
................................
................................
..............................

192






vii

get_parent_class

................................
................................
................................
..................

193

get_class_methods

................................
................................
................................
...............

193

get_class_vars

................................
................................
................................
......................

193

get_object_vars

................................
................................
................................
....................

193

is_subclass_of

................................
................................
................................
......................

193

class_exists

................................
................................
................................
..........................

194

method_exists

................................
................................
................................
......................

194

get_declared_classes

................................
................................
................................
............

194

call_user_method

................................
................................
................................
.................

194

IX. ClibPDF functions

................................
................................
................................
..................

196

cpdf_global_set_document_limits

................................
................................
.......................

20
0

cpdf_set_creator

................................
................................
................................
..................

200

cpdf_set_title

................................
................................
................................
.......................

200

cpdf_set_subject

................................
................................
................................
..................

200

cpdf_set_keywords

................................
................................
................................
..............

200

cpdf_open

................................
................................
................................
............................

201

cpdf_close

................................
................................
................................
............................

201

cpdf_page_init

................................
................................
................................
.....................

201

cpdf_finalize_page

................................
................................
................................
..............

202

cpdf_finalize

................................
................................
................................
........................

202

cpdf_output_buffer

................................
................................
................................
..............

202

cpdf_save_to_file

................................
................................
................................
................

202

cpdf_set_current_page

................................
................................
................................
.........

203

cpdf_begin_text

................................
................................
................................
...................

203

cpdf_end_text

................................
................................
................................
......................

203

cpdf_show

................................
................................
................................
...........................

204

cpdf_show_x
y

................................
................................
................................
.....................

204

cpdf_text

................................
................................
................................
..............................

204

cpdf_set_font

................................
................................
................................
.......................

205

cpdf_set_leading

................................
................................
................................
..................

205

cpdf_set_text_rendering

................................
................................
................................
......

205

cpdf_set_horiz_scaling

................................
................................
................................
........

205

cpdf_set_text_rise

................................
................................
................................
................

206

cpdf_set_text_matrix

................................
................................
................................
...........

206

cpdf_set_text_pos

................................
................................
................................
................

206

cpdf_set_char_spacing

................................
................................
................................
........

206

cpdf_set_word_spacing

................................
................................
................................
.......

207

cpdf_continue_text

................................
................................
................................
..............

207

cpdf_stringwidth

................................
................................
................................
..................

207

cpdf_save

................................
................................
................................
.............................

207

cpdf_restore

................................
................................
................................
.........................

208

cpdf_translate

................................
................................
................................
......................

208

cpdf_scale

................................
................................
................................
............................

208

cpdf_
rotate

................................
................................
................................
...........................

208

cpdf_setflat

................................
................................
................................
..........................

209

cpdf_setlinejoin

................................
................................
................................
...................

209

cpdf_setlinecap

................................
................................
................................
....................

209

cpdf_setmiterlimit
................................
................................
................................
................

209






viii

cpdf_setlinewidth

................................
................................
................................
................

209

cpdf_setdash

................................
................................
................................
........................

210

cpdf_newpath

................................
................................
................................
......................

210

cpdf_moveto

................................
................................
................................
........................

210

cpdf_rmoveto

................................
................................
................................
.......................

210

cpdf_curveto

................................
................................
................................
........................

211

cpdf_lineto

................................
................................
................................
...........................

211

cpdf_rlineto

................................
................................
................................
.........................

211

cpdf_circle

................................
................................
................................
...........................

212

cpdf_arc

................................
................................
................................
...............................

212

cpdf_rect

................................
................................
................................
..............................

212

cpdf_closepath

................................
................................
................................
.....................

213

cpdf_stroke

................................
................................
................................
..........................

213

cpdf_closepath_stroke

................................
................................
................................
.........

213

cpdf_fill

................................
................................
................................
...............................

213

cpdf_fill_stroke
................................
................................
................................
....................

214

cpdf_closepath_fill_stroke
................................
................................
................................
...

214

cpdf_clip

................................
................................
................................
..............................

214

cpdf_setgray_fill

................................
................................
................................
..................

214

cpdf_setgray_stroke

................................
................................
................................
.............

215

cpdf_setgray

................................
................................
................................
........................

215

cpdf_setrgbcolor_fill

................................
................................
................................
...........

215

cpdf_setrgbcolor_stroke

................................
................................
................................
......

215

cpdf_setrgbcolor

................................
................................
................................
..................

216

cpdf_
add_outline

................................
................................
................................
.................

216

cpdf_set_page_animation

................................
................................
................................
....

216

cpdf_import_jpeg

................................
................................
................................
................

217

cpdf_place_inline_image

................................
................................
................................
.....

217

cpdf_add_annotation

................................
................................
................................
...........

218

X. CURL, Client URL Library Functions

................................
................................
.....................

219

curl_init

................................
................................
................................
...............................

221

curl_setopt

................................
................................
................................
...........................

222

curl_exec

................................
................................
................................
.............................

224

curl_close

................................
................................
................................
.............................

224

curl_version

................................
................................
................................
.........................

225

XI. Cybercash payment functions

................................
................................
................................
.

226

cybercash_encr

................................
................................
................................
....................

227

cybercash_decr

................................
................................
................................
....................

227

cybercash_base64_encode

................................
................................
................................
...

227

cybercash_b
ase64_decode

................................
................................
................................
...

227

XII. Database (dbm
-
style) abstraction layer functions

................................
................................
..

228

dba_close

................................
................................
................................
.............................

230

dba_delete

................................
................................
................................
............................

231

dba_exists

................................
................................
................................
............................

231

d
ba_fetch

................................
................................
................................
.............................

231

dba_firstkey

................................
................................
................................
.........................

232

dba_insert

................................
................................
................................
............................

232

dba_nextkey

................................
................................
................................
.........................

232






ix

dba_popen

................................
................................
................................
...........................

233

dba_open

................................
................................
................................
.............................

233

dba_optimize

................................
................................
................................
.......................

234

dba_replace

................................
................................
................................
..........................

234

dba_sync

................................
................................
................................
..............................

234

XIII. Date and Time functions

................................
................................
................................
......

235

checkdate

................................
................................
................................
.............................

236

date

................................
................................
................................
................................
......

237

getdate

................................
................................
................................
................................
.

238

gettimeofday

................................
................................
................................
........................

239

gmdate

................................
................................
................................
................................
.

239

gmmktime

................................
................................
................................
............................

239

gmstrftime

................................
................................
................................
...........................

240

localtime

................................
................................
................................
..............................

240

microtime
................................
................................
................................
.............................

241

mktime

................................
................................
................................
................................
.

241

strftime
................................
................................
................................
................................
.

243

time

................................
................................
................................
................................
......

244

strtotime

................................
................................
................................
...............................

245

XIV. dBase functions

................................
................................
................................
....................

246

dbase_create

................................
................................
................................
........................

247

dbase_open

................................
................................
................................
..........................

248

dbase_close

................................
................................
................................
..........................

248

dbase_pack

................................
................................
................................
..........................

248

dbase_add_record

................................
................................
................................
................

249

dbase_replace_recor
d

................................
................................
................................
..........

249

dbase_delete_record

................................
................................
................................
............

249

dbase_get_record

................................
................................
................................
.................

249

dbase_get_record_with_names

................................
................................
............................

250

dbase_numfields

................................
................................
................................
..................

250

dbase_numrecords

................................
................................
................................
...............

250

XV. DBM Functions

................................
................................
................................
.....................

251

dbmopen

................................
................................
................................
..............................

252

dbmclose

................................
................................
................................
..............................

252

dbmexists

................................
................................
................................
.............................

253

dbmfetch

................................
................................
................................
..............................

253

dbminsert

................................
................................
................................
.............................

253

dbmreplace

................................
................................
................................
..........................

253

dbmdelete

................................
................................
................................
............................

253

dbmfirstkey

................................
................................
................................
..........................

254

dbmnextkey

................................
................................
................................
.........................

254

dblist

................................
................................
................................
................................
....

254

XVI.
Directory functions

................................
................................
................................
..............

255

chdir

................................
................................
................................
................................
.....

256

dir

................................
................................
................................
................................
........

256

closedir

................................
................................
................................
................................

256

opendir

................................
................................
................................
................................
.

257

readdir

................................
................................
................................
................................
..

257






x

rewinddir

................................
................................
................................
.............................

258

XVII. Dynamic Loading functions

................................
................................
...............................

259

dl

................................
................................
................................
................................
..........

260

XVIII. DOM XML functions

................................
................................
................................
........

261

xmldoc

................................
................................
................................
................................
.

263

xmldocfile

................................
................................
................................
............................

263

xmltree

................................
................................
................................
................................
.

263

XIX. filePro functions

................................
................................
................................
...................

264

filepro

................................
................................
................................
................................
..

265

filepro_fieldname

................................
................................
................................
................

265

filepro_fieldtype

................................
................................
................................
..................

265

filepro_fieldwidth

................................
................................
................................
................

265

filepro_retrieve

................................
................................
................................
....................

265

filepro_fieldcount

................................
................................
................................
................

266

filepro_rowcount

................................
................................
................................
.................

266

XX. Filesystem functions

................................
................................
................................
..............

267

basename

................................
................................
................................
.............................

268

chgrp

................................
................................
................................
................................
....

268

chmod

................................
................................
................................
................................
..

268

chown

................................
................................
................................
................................
..

269

clearstatcache

................................
................................
................................
.......................

269

copy

................................
................................
................................
................................
.....

270

delete

................................
................................
................................
................................
...

270

dirname

................................
................................
................................
................................

270

diskfreespace

................................
................................
................................
.......................

271

fclose

................................
................................
................................
................................
...

271

feof

................................
................................
................................
................................
......

271

fgetc

................................
................................
................................
................................
.....

272

fgetcsv

................................
................................
................................
................................
.

272

fgets

................................
................................
................................
................................
.....

273

fgetss

................................
................................
................................
................................
....

273

file

................................
................................
................................
................................
........

274

file_exists
................................
................................
................................
.............................

274

fileatime

................................
................................
................................
...............................

275

filectime

................................
................................
................................
...............................

275

filegroup

................................
................................
................................
..............................

275

fileinode

................................
................................
................................
...............................

276

filemtime

................................
................................
................................
.............................

2
76

fileow
ner

................................
................................
................................
..............................

276

fileperms

................................
................................
................................
..............................

276

filesize

................................
................................
................................
................................
.

277

filetype

................................
................................
................................
................................
.

277

flock

................................
................................
................................
................................
.....

277

fopen

................................
................................
................................
................................
....

278

fpas
sthru

................................
................................
................................
..............................

279

fputs

................................
................................
................................
................................
.....

279

fread

................................
................................
................................
................................
.....

280

fscanf

................................
................................
................................
................................
...

280






xi

fseek

................................
................................
................................
................................
....

281

fstat

................................
................................
................................
................................
......

282

ftell

................................
................................
................................
................................
......

282

ftruncate

................................
................................
................................
...............................

283

fwrite

................................
................................
................................
................................
...

283

set_file_buffer

................................
................................
................................
.....................

283

is_dir

................................
................................
................................
................................
....

283

is_executable

................................
................................
................................
.......................

284

is_file

................................
................................
................................
................................
...

284

is_link

................................
................................
................................
................................
..

284

is_readable

................................
................................
................................
...........................

284

is_writeable

................................
................................
................................
.........................

285

link

................................
................................
................................
................................
.......

285

linkinfo

................................
................................
................................
................................

285

mkdir

................................
................................
................................
................................
...

286

pclose

................................
................................
................................
................................
...

286

popen

................................
................................
................................
................................
...

286

readfile

................................
................................
................................
................................
.

287

readlink

................................
................................
................................
................................

287

rename

................................
................................