|
Directories, Files and Images
Part:
1
2
3
(Continued from previous part...)
-
fopen -- Opens file or URL
-
fpassthru -- Output all remaining data on a file pointer
-
fputcsv -- Format line as CSV and write to file pointer
-
fread -- Binary-safe file read
-
fscanf -- Parses input from a file according to a format
-
fseek -- Seeks on a file pointer
-
fstat -- Gets information about a file using an open file pointer
-
ftell -- Tells file pointer read/write position
-
ftruncate -- Truncates a file to a given length
-
fwrite -- Binary-safe file write
-
glob -- Find pathnames matching a pattern
-
is_dir -- Tells whether the filename is a directory
-
is_executable -- Tells whether the filename is executable
-
is_file -- Tells whether the filename is a regular file
-
is_link -- Tells whether the filename is a symbolic link
-
is_readable -- Tells whether the filename is readable
-
is_uploaded_file -- Tells whether the file was uploaded via HTTP POST
-
is_writable -- Tells whether the filename is writable
-
link -- Create a hard link
-
linkinfo -- Gets information about a link
-
lstat -- Gives information about a file or symbolic link
-
mkdir -- Makes directory
-
move_uploaded_file -- Moves an uploaded file to a new location
-
parse_ini_file -- Parse a configuration file
-
pathinfo -- Returns information about a file path
-
pclose -- Closes process file pointer
-
popen -- Opens process file pointer
-
readfile -- Outputs a file
-
readlink -- Returns the target of a symbolic link
-
realpath -- Returns canonicalized absolute pathname
-
rename -- Renames a file or directory
-
rewind -- Rewind the position of a file pointer
-
rmdir -- Removes directory
-
stat -- Gives information about a file
-
symlink -- Creates a symbolic link
-
tempnam -- Create file with unique file name
-
tmpfile -- Creates a temporary file
-
touch -- Sets access and modification time of file
-
umask -- Changes the current umask
-
unlink -- Deletes a file
Image Functions
With GB library installed, PHP offers a lots of nice functions to manage images:
-
gd_info -- Retrieve information about the currently installed GD library
-
getimagesize -- Get the size of an image
-
image_type_to_extension -- Get file extension for image type
-
image_type_to_mime_type -- Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype
-
image2wbmp -- Output image to browser or file
-
imageantialias -- Should antialias functions be used or not
-
imagearc -- Draw a partial ellipse
-
imagechar -- Draw a character horizontally
(Continued on next part...)
Part:
1
2
3
|