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.

purchase.php script (Shopping Cart application)<br />

949<br />

<strong>MySQL</strong>, 223<br />

global privileges, 224<br />

GRANT comm<strong>and</strong>, 223-228<br />

principle of least privilege, 223<br />

REVOKE comm<strong>and</strong>, 227-228<br />

PROCESS, 295<br />

types, 225-227<br />

system, 287-288<br />

columns_priv table, 293<br />

db table, 290-291<br />

grant table, 293<br />

host table, 290-291<br />

privileges, updating, 293-294<br />

slaves, 307<br />

tables_priv table, 293<br />

user table, 289-290<br />

updating, 293-294<br />

user database security, 295-296<br />

PROCESS privilege, 226, 295<br />

process.php files (Shopping Cart application),<br />

611<br />

process.php script (Shopping Cart application),<br />

639<br />

processing HTML forms, 14, 17<br />

Product class, 839<br />

Product.php files (Tahuayo application), 819<br />

progex.php file, 448-449<br />

programming errors, 551, 553-554<br />

logic errors, 558-559<br />

runtime errors, 553-554<br />

database interaction, 555-557<br />

functions that don’t exist, 554-555<br />

input data, checking, 558<br />

network connections, 557-558<br />

reading/writing files, 555<br />

syntax errors, 552-553<br />

programs. See also applications<br />

install (Apache), 902<br />

running comm<strong>and</strong> line, 531<br />

project codes, installing (Amazon), 853-854<br />

property files, changing, 446<br />

protocols, 451-452<br />

application layer protocols, 414<br />

File Transfer Protocol (FTP), 459<br />

anonymous login, 462<br />

backing up files, 459-465<br />

ftp_get() function, 466<br />

ftp_mdtm() function, 464<br />

ftp_nlist() function, 467<br />

ftp_size() function, 467<br />

mirroring files, 459-465<br />

set_time_limit() function, 467<br />

timeouts, avoiding, 467<br />

uploading files, 466<br />

FTP (File Transfer Protocol), 64-65<br />

HTTP (Hypertext Transfer Protocol),<br />

414<br />

h<strong>and</strong>shaking, 414-415<br />

opening files, 64-65<br />

Secure Sockets Layer (SSL), 414<br />

IMAP (Internet Message Access<br />

Protocol), 452, 651-652<br />

IP (Internet Protocol), 414<br />

NNTP (Network News Transfer<br />

Protocol), 452<br />

POP (Post Office Protocol), 452<br />

POP3 (Post Office Protocol version<br />

3), 651-652<br />

RFCs (Requests for Comments),<br />

451-452<br />

SMTP (Simple Mail Transfer<br />

Protocol), 452, 652<br />

SOAP (Simple Object Access<br />

Protocol), 845-846<br />

stacks, 413-414<br />

TCP (Transmission Control Protocol),<br />

414<br />

<strong>Web</strong> Services<br />

SOAP (Simple Object Access<br />

Protocol), 811-812<br />

WSDL (<strong>Web</strong> Services Description<br />

Language), 812<br />

prototypes<br />

code, 545-546<br />

functions, 144<br />

public access modifier, 166-170<br />

public keys<br />

encryption, 353-354<br />

Gnu Privacy Guard (GPG), 420-422<br />

purchase.php files (Shopping Cart application),<br />

611<br />

purchase.php script (Shopping Cart application),<br />

634, 639

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

Saved successfully!

Ooh no, something went wrong!