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.

• INDEXwww.it-ebooks.info--fields-escaped-by= option, 725--fields-optionally-enclosed-by= option,725--fields-terminated-by= option, 725FIFO (first-in-first-out), 110file( ) function, 36, 237, 239–240, 242, 308,428file extensions, denying access to, 433FILE privilege, 576, 729FILE privileges, 519file_get_contents( ) function, 240–241File_Passwd package, PEAR, 263File_priv column, 563, 567file_uploads directive, 320fileatime( ) function, 235file-based authentication, 308–309filectime( ) function, 235file-inclusion statementsinclude( ) statement, 86–88requiring file, 88filemtime( ) function, 236filenames, retrieving, 230filesaccess times, 235binary, generating, 453–454calculating sizesdirectories, 234–235files, 232free space of disks, 233overview, 232total size of disks, 233–234changed times, 235–236closing, 239directoriesclosing handles, 248opening handles, 247parsing contents, 248reading into arrays, 248–249end-of-file characters, 237loading XML from, 420–421log, identifying, 178modified times, 236moving pointer, 247my.cnf, 501–504newline characters, 237opening, 238–239paths, sessions, 369PEAR HTTP_Uploadinstalling, 326uploaded files, 326–329reading fromaccording to predefined formats,245–246into arrays, 239–240characters, 243entire files, 245ignoring newline characters, 244one character at a time, 244overview, 239reading CSV files into arrays, 241–242into string variables, 240–241stripping tags from inputs, 243renaming, 250resources, 237touching, 250translation, creating, 452–453uploading via HTTP, 319–320uploading with <strong>PHP</strong>$_FILES array, 322error messages, 324file_uploads directive, 320file-upload functions, 322–324max_file_uploads directive, 321max_input_time directive, 320–321memory_limit directive, 321post_max_size directive, 321upload_max_filesize directive, 321upload_tmp_dir directive, 321–322writing strings to, 246Files directive, 433filesize( ) function, 232, 244Filter extension, 294–296FILTER_FLAG_IPV4 flag, 295FILTER_FLAG_IPV6 flag, 295FILTER_SANITIZE_EMAIL identifier, 295FILTER_SANITIZE_ENCODED identifier,295FILTER_SANITIZE_MAGIC_QUOTESidentifier, 296FILTER_SANITIZE_NUMBER_FLOATidentifier, 296FILTER_SANITIZE_NUMBER_INTidentifier, 296FILTER_SANITIZE_SPECIAL_CHARSidentifier, 296FILTER_SANITIZE_STRING flag, 295–296FILTER_SANITIZE_URL identifier, 296FILTER_UNSAFE_RAW identifier, 296FILTER_VALIDATE_BOOLEAN identifier,294750

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

Saved successfully!

Ooh no, something went wrong!