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.infoprecision, run-time directive for <strong>PHP</strong>, 23precision parameter, 23predecrement operation, 71preg_filter( ) function, 204preg_grep( ) function, 200PREG_GREP_INVERT value, 201preg_match( ) function, 201preg_match_all( ) function, 202PREG_OFFSET_CAPTURE value, 202PREG_PATTERN_ORDER value, 202preg_quote( ) function, 202preg_replace( ) function, 203–204preg_replace_callback( ) function, 204PREG_SET_ORDER value, 202preg_split( ) function, 205preincrement operation, 71prepare( ) methodprepared statements with PDO, 618using prepared statements with <strong>PHP</strong>,600–601prepared statementswith PDObindParam( ) method, 619–621execute( ) method, 619prepare( ) method, 618using with <strong>PHP</strong>bind_param( ) method, 601–603bind_result( ) method, 603–604close( ) method, 601execute( ) method, 601fetch( ) method, 604other methods for, 604–605overview, 599prepare( ) method, 600–601presentational language, 388preserve_keys parameter, 113, 119–120, 128,133prev( ) function, 115preventing unwanted deletes, with mysqlclient, 510previous parameter, 184PRIMARY KEY data type attribute, 545–546primary key indexes, 694–695print( ) function, 24, 46, 77--print-defaults option, 522printf( ) function, 47–49, 92, 108printing for testing purposes, 109priority parameter, 181private method scope, 147private property scope, 140–141privilege columns, and privileges in <strong>MySQL</strong>,566–568privilegesGRANT commandadding to user, 577–578column-level, 578creating new user with, 577multiple table-level, 578table-level, 578in <strong>MySQL</strong>access 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–568and <strong>PHP</strong> with <strong>MySQL</strong>, 589reviewing, 581REVOKE commandcolumn-level, 579–580revoking with, 579table-level, 579setting for security of stored routines,630Proc_priv column, procs_priv table, 573PROCESS privilege, 576Process_priv column, 563, 567processlist command, 516processPayPalPayment( ) function, 95procs_priv table, and privileges in <strong>MySQL</strong>,572–573Prod option, ServerSignature directive, 431product_reviews table, 724productsaccommodating supporting casesensitiveregular expressions, 198database, example database, 589projects, Zend Frameworkadjusting Document Root, 465applications, 464configuring Zend_Tool, 464docs, 464libraries, 464–465navigating to home page, 465–466overview, 463770

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

Saved successfully!

Ooh no, something went wrong!