Share on Google+Share on Google+

PHP Files management functions and examples.

In this PHP file tutorial section we will learn about different methods for managing the files functions from the PHP program.

The PHP file management is import in any application development. Sometimes you have to handle the file from your program. For example you may have to read the some data from the file and display on the users browser.

PHP scripting language provides many functions for the manipulation of files from the PHP program. Here in this section we will learn about all the PHP file functions.


PHP basename() function, PHP basename function example
PHP base name function example code. Learn how to use basename() function in your PHP program.
CHGRP example, chgrp example in PHP, PHP chgrp
In this section we will learn how to use the chgrp() function in PHP Program.
PHP chmod, PHP chmod Example
The example of chmod() function in PHP. Learn how to use PHP chmod() in your PHP program.
PHP clearstatcache example, clearstatcache php, clearstatcache in php
In this section We will show you the example of PHP clearstatcache() function. This PHP clearstatcache() function is used to clear the cache associated with a file.
Copy file in php, How to copy file in php, PHP copy file
In this example code I will show you how you can copy files in PHP program.
PHP dirname() Function, PHP dirname(), dirname php
The example of PHP dirname() Function. Learn how to get the directory name of a file. It gives the name (full path) of the directory in which the file is present.
PHP find free space, php disk_free_space, disk_free_space
Learn how to use disk_free_space() function in PHP.
Find total disk space in PHP, php disk_total_space, disk_total_space
How to find the total disk space in PHP program. Learn how you can use disk_total_space() function in PHP to find the total disk space.
diskfreespace php, Find free disk space from PHP program
Find the free disk space in PHP Program. This example shows you how to find the free disk space using diskfreespace() function in PHP.
Function fclose() in php, PHP Close file, fclose php
The fclose() function example in PHP. Learn how to use the fclose() function in your php program.
feof() Function in php
The example of feof() Function in the PHP programming language.
User of fflush() function in PHP, fflush php, fflush in php
In the example code we will learn the use of fflush()function in PHP Program.
Example of fgetc in PHP, fgetc php, fgetc in php
In this PHP tutorial section you will learn the use of fgetc() function in php.
The fgetcsv function example in PHP, fgetcsv php, fgetcsv in php
The example of fgetcsv() function in PHP.
The fgets function example in PHP, fgets php, fgets in php
This PHP tutorial guide provides example and explains the fgets() function with the help of code.
The file function example in PHP, file php, file in php
Example of file() function in PHP. The file() function in PHP is used to read the whole file into an array.
The file_exists() function, file_exists php, file_exists in php
This example of file_exists() function in PHP that checks the existence of a file or directory.
The PHP file_get_contents() function , file_get_contents php
This given example program explains the usage of file_get_contents() function. The example program will show you the correct usage of file_get_contents() function.
The PHP file_put_contents() function , file_put_contents php
The PHP file_put_contents() function is used to write the string into a file. It is identical to using the fopen(), fwrite() and fclose() functions.
The PHP fileatime() function , fileatime php, fileatime in php
The PHP fileatime() function gives the time of last access of the file.
The filectime() function, filectime php, filectime() in php
The PHP filectime() Function is used to get the inode change time for a file.


Posted on: September 16, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.