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.infostrings, interpolation of (cont.)heredoc, 77nowdoc, 78overview, 74single quotes, 76loading XML from, 421overview, 50–51padding and strippingpadding strings, 224trimming characters from beginningof strings, 223trimming characters from both sidesof strings, 224trimming characters from end ofstrings, 223performing complex parsing, 218–219replacing all instances of, with other,219–220replacing portion of, with other, 222–223returning parts of, based on predefinedoffsets, 220–221splitting into elementsbased on case-insensitive patterns,197, 205based on case-sensitive patterns, 197tokenizing based on predefinedcharacters, 216trimming charactersfrom beginning of, 223from both sides of, 224from end of, 223variable modifiers in Smarty, truncating,396–397writing, 246strip_tags( ) function, 117, 213, 215–216,244, 292, 294, 396stripos( ) function, 219stripping tags, 294stripslashes( ) function, 33striptags.tpl template, 396strlen( ) function, 206strpos( ) function, 218strrpos( ) function, 219strspn( ) function, 208strstr( ) function, 220strtok( ) function, 216strtolower( ) function, 209, 278strtotime( ) function, 283–284, 455strtoupper( ) function, 209strtr( ) function, 214–215subclass types, determining, 156submitdata.php, 117sub<strong>net</strong> converters, creating, 346–347subqueriescomparisons with, 684–685database maintenance with, 686determining existence with, 685–686overview, 683using with <strong>PHP</strong>, 687subscribers table, 316substr( ) function, 220substr_count( ) function, 222substr_replace( ) function, 222suffix parameter, 230SUM( ) function, 663, 668summary.html document, 239SUPER privilege, 576, 653, 665Super_priv column, 564, 567superglobal variablesCOOKIE, 64ENV, 65GET, 63overview, 61–62POST, 64–65servers and clients, 63SESSION, 65supply string, 292supplyinventory_manager program, 292Suraski, Zeev, 2switch statement, 80symfony framework, 460–461syslog( ) function, 180–181system( ) function, 25, 28, 30, 234, 249, 253–254, 289, 339, 344system requirements, for transactions in<strong>MySQL</strong>, 710system status, viewing with mysql client,512–513system-level program execution<strong>PHP</strong> functionsalternatives to backticks, 255executing shell commands withbackticks, 254executing system-level commands,253overview, 252retrieving system command'sresults, 253–254returning binary outputs, 254sanitizing inputs, 251–252780

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

Saved successfully!

Ooh no, something went wrong!