What will the following function call return: is_readable("http://www.slashdot.org")
Which function locks files:
What is the primary difference between rename() and move_uploaded_file()?
In the .ini file format, what is considered to be the start of a comment?
d) All of the above
Which superglobal array contains information on uploaded files?
d) None of the above
Under what circumstances can the file_exists() function report incorrect data?
Next chapter: Further reading >>
Previous chapter: Summary
Jump to: Files Reading files readfile() file_get_contents() and file() fopen() and fread() Creating and changing files file_put_contents() fwrite() Moving, copying, and deleting files Moving files with rename() Copying files with copy() Deleting files with unlink() Temporary files Other file functions Checking whether a file exists Retrieving a file's status Dissecting filename information A working example: making a counter Handling file uploads Advanced file upload handling Checking uploaded files Locking files with flock() Permissions Setting permissions Changing file ownership Working with directories Deleting directories One last directory function Remote files File checksums Parsing a configuration file Summary Exercises Further reading Next chapter
Home: Table of Contents
Follow us on Identi.ca or Twitter
© Future Publishing Limited, Beauford Court, 30 Monmouth Street, Bath BA1 2BW. All rights reserved. England and Wales company registration number 2008885.