13.09.2016 Views

PHP and MySQL Web Development 4th Ed-tqw-_darksiderg

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MaxClients parameter (Apache)<br />

939<br />

login.php files<br />

<strong>PHP</strong>Bookmark application, 572-577<br />

Shopping Cart application, 611<br />

logout.php files<br />

<strong>PHP</strong>Bookmark application, 572<br />

Shopping Cart application, 611<br />

logout.php script (authentication), 523-524<br />

long style form variable, 24-26<br />

lookup functions<br />

dns_get_mx(), 459<br />

explode(), 459<br />

networks, 455-459<br />

gethostbyaddr(), 458<br />

gethostbyname(), 456-458<br />

getmxrr(), 456<br />

parse_url(), 458<br />

lookup.php file, 453<br />

loops, 51-53<br />

accessing numerically indexed arrays,<br />

84<br />

associative arrays, 85-87<br />

break statement, 56<br />

do..while loops, 55-56<br />

for loops, 54-55<br />

foreach loops, 54-55<br />

iteration, 188-191<br />

while loops, 53-54<br />

lstat() function, 446<br />

ltrim() function, 110<br />

M<br />

magic quotes, 115<br />

magic_quotes_gpc directive, 417<br />

magic_quotes_runtime directive, 417<br />

Mail Exchange (MX) records, 459<br />

mail() function, 109, 452, 595, 689<br />

mail_fns.php files (Warm Mail application),<br />

655<br />

mail_fns.php function library, get_accounts()<br />

function, 668<br />

mailbox (Warm Mail application), viewing<br />

contents of, 674-676<br />

mailing list manager. See MLM<br />

main page (Shopping Cart application),<br />

615-620<br />

maintainability of code, 538<br />

breaking up, 541-542<br />

code st<strong>and</strong>ards, 538<br />

commenting, 540<br />

directory structures, 542<br />

function libraries, 542<br />

indenting, 540-541<br />

naming conventions, 538-540<br />

make_button.php file, 492-493<br />

malicious code injection, 365<br />

many-to-many relationships (databases),<br />

211<br />

master servers, database replication,<br />

306-307<br />

matching<br />

regular expressions, 123-124<br />

* symbol, 126<br />

+ symbol, 126<br />

branching, 127<br />

caret symbol (^), 126-127<br />

character classes, 125<br />

character sets, 124-125<br />

curly braces ({}), 126<br />

finding substrings, 129-130<br />

literal special characters, 127<br />

replacing substrings, 130<br />

slash (\), 127<br />

special characters, 127-128<br />

splitting strings, 130<br />

string anchoring, 126-127<br />

subexpressions, 126<br />

<strong>Web</strong> references, 131<br />

substrings, 120-121<br />

find <strong>and</strong> replace, 122-123<br />

numerical position, 121<br />

regular expressions, 129-130<br />

strchr() function, 121<br />

stristr() function, 121<br />

strpos() function, 121<br />

strrchr() function, 121<br />

strrpos() function, 122<br />

strstr() function, 121<br />

max() function, 155-156<br />

MAX(column) function, 256<br />

max_connections parameter, 273<br />

MaxClients parameter (Apache), 273

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!