|
• L •
language support, gettext extension for, 307
LDAP extension, 307
LDAP server, cURL extension for, 306
Lerdorf, Rasmus (PHP developer), 9
less than operator (<), 131
less than or equal operator (<=), 131
line numbers for scripts, 36, 66
__LINE__
built-in constant, 66
link
function, 364
links, HTML, 224
Linux
installing PHP, 333–338
running scripts using, 40
setting up database support, 263–264
Web space, default for, 28
list
statement, 106–107
local variables, 165–166
localtime
function, 359
log file, sending error messages to, 70
log
function, 368
log_errors
setting, in
php.ini
file, 70
log10
function, 368
loop statements. See alsoconditions
break
statement, 154–156
continue
statement, 154–156
definition of, 130, 145
do..while
statement, 151–152
for
statement, 146–149
foreach
statement, 109–110, 121–122
infinite loops, avoiding, 151, 153–154, 156
while
statement, 149–151
lowercase letters. Seecase of constant
andvariable names
ltrim
function, 86, 374
• M •
Mac OS X
installing PHP, 339–341
PHPMac Web site, 329
setting up database support, 263–264
magic quotes, enabling, 342
Maguma software, 34
mail. Seee-mail
mail
function, 299, 367
Mail package, 309
mail server for outgoing mail, 297–299
mailing lists, 17, 25, 30, 327–328
man files, 342
math library, BCMath extension, 304
mathematical operations
built-in functions for, 79, 367–369
on dates, 95
on numbers, 75–79
max
function, 368
Mcrypt Encryption extension, 307
messages, e-mail, 299–300
methods
adding to a class, 185–186
choosing, 182
__clone
method, 195
__construct
method, 186
definition of, 179–180
__destruct
method, 196
GET and POST methods, 211–212
private or protected, 191–193
Mhash extension, 307
Microsoft IIS/PWS. SeeIIS/PWS
Microsoft SQL Server. SeeSQL Server
databases
microtime
function, 359
Mime type extension, 308
min
function, 368
Ming for Flash extension, 308
minus, equal sign (-=), 78
minus sign (-), 77
minus sign, double (—), 78
mkdir
function, 283–284, 364
mktime
function, 94, 359
mod_so
module, Apache, 334, 339
modules, on command line, 42
modulus operator (%), 77
move_uploaded_file
function, 241, 364
mSQL databases, 12, 260, 263, 265, 342
Multi-byte String extension, 307
multidimensional arrays, 114, 118–122
multiple inheritance, not supported, 181
multiplication operator (*), 77
multiplication shortcut operator (*=), 78
MySQL databases, 12, 17, 203, 260, 263,
265, 343
385
Index
|