11.07.2015 Views

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

www.it-ebooks.info• INDEXtable-level privileges, 579tips for, 580–581secure connectionsand grant options, 583–584overview, 582SSL options, 584–586starting SSL-enabled server, 586storing SSL options in my.cnf file,586using SSL-enabled client, 586SHOW GRANTS FOR command, 581user managementcreating users, 573–574deleting users, 574limiting user resources, 581–582renaming users, 574–575security options, for views in <strong>MySQL</strong>, 665SELECT command, 566, 576, 581, 629SELECT INTO OUTFILE command,exporting data withexample using, 730exporting to Microsoft Excel, 730–732tips for, 729SELECT privileges, 518, 576–578, 580, 730SELECT queries, 508, 552, 555, 594, 655, 680SELECT statements, 483, 668–669select_db( ) method, 590Select_priv column, 563, 566, 568, 570selection privilege, 729self keyword, 154, 168sendmail_from directive, 339sendmail_path directive, 339–340separate file, storing connectioninformation in, 593serialize_precision directive, run-timedirective for <strong>PHP</strong>, 25server daemon, <strong>MySQL</strong>, 495–496server statistics, from mysql client, 510SERVER variable, 31–32serverdatabases.xml file, 511ServerName directive, 430serversbinding to, 354and client, 63connecting tobinding to servers, 354closing connections, 354–355overview, 352Transport Layer Security protocol,353pinging, 345ServerSignature directive, 430ServerSignature parameter, 30ServerTokens directive, 430service daemon, <strong>MySQL</strong>, 497service name, retrieving from port numbers,337services, retrieving port numbers, 336–337session handlersautomatically logging in returning users,378–379configuration directivesautomatically enabling sessions, 370automating URL rewriting, 370choosing cookies or URL rewriting,370managing session storage media, 369setting caching directions forsession-enabled pages, 371–372setting session cookie lifetimes, 370–371setting session cookie's valid URLpath, 371setting session files paths, 369setting session names, 370creating and deleting variables, 374–375creating customoverview, 381tying functions into <strong>PHP</strong>'s logic, 382using custom <strong>MySQL</strong>-based sessionhandlers, 382–385destroying, 373–374encoding and decoding datadecoding session data, 376–377encoding session data, 375–376regenerating session IDs, 377generating recently viewed documentindexes, 379–381overview, 367–368setting and retrieving ID, 374starting, 373session lifetime, setting, 372SESSION superglobal, 65session_close( ) function, 381session_decode( ) function, 375–376session_destroy( ) function, 373, 381session_destroy($sessionID) function, 382session_encode( ) function, 375–376session_garbage_collect($lifetime) function,382session_id( ) function, 374775

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

Saved successfully!

Ooh no, something went wrong!