11.07.2015 Views

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

• INDEXwww.it-ebooks.info--safe-updates option, 510, 515--safe-user-create option, 559salary property, Employee class, 163scalar attribute, 53scalar typesBoolean, 49floats, 50integers, 50strings, 50–51scandir( ) function, 248Schneier, Bruce, 433scopesmethodabstract, 148final, 148private, 147protected, 147public, 146propertiesfinal, 141private, 140–141protected, 141public, 139–140script parameter, 402tags, 440scripting cross-site, 290–291scriptsincluding packages within, 264overview, 43setting desired languages within, 454updating, 450–452search_value parameter, 113searchescase-insensitive, 195–196case-sensitive, 194–195searchextended.php file, 704searchingarrays, 111–112forms-basedextending capabilities, 704–705full-text search, 705–707simple search, 702–704and full-text indexing, 479for records, 355–356search.php file, 702section function, in Smarty, 399–401section2.tpl template, 401sectionelse function, in Smarty, 401secure connections for <strong>MySQL</strong>and grant optionsREQUIRE CIPHER, 584REQUIRE ISSUER, 584REQUIRE SSL, 583REQUIRE SUBJECT, 584REQUIRE X509, 584overview, 582SSL optionsoverview, 584--ssl option, 585--ssl-ca option, 585--ssl-capath option, 585--ssl-cert option, 585--ssl-cipher option, 585--ssl-key option, 585–586starting SSL-enabled server, 586storing SSL options in my.cnf file, 586using SSL-enabled client, 586Secure Sockets Layer (SSL), 521, 593security. See also website securityand LOAD DATA INFILE, 724of <strong>MySQL</strong>, 479–480security for <strong>MySQL</strong>GRANT commandadding privileges to user, 577–578column-level privileges, 578creating new user with privileges,577multiple table-level privileges, 578table-level privileges, 578tips for, 580–581intial tasks for, 558–559limiting user resources, 581–582mysqld daemon options, 559overview, 557privilegesaccess control stages, 560–561and columns_priv table, 572connection request example, 561–562and db table, 568–569and host table, 569–570overview of, 560–562and procs_priv table, 572–573reviewing, 581storage of information for, 562–573and tables_priv table, 571–572and user table, 562–568REVOKE commandcolumn-level privileges, 579–580deleting user with, 580revoking privileges, 579774

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

Saved successfully!

Ooh no, something went wrong!