Php File

Php File Tutorial-Php is dir function

In php is_dir() function checks whether directory exists or not.Directory's full path is given as an argument. If Directory exists, it returns true otherwise false. Example: <php $path="C:\\Documents and Settings\\user1\\My Document ...



READ MORE...


Php File Tutorial-Php is file function

In php is_file() function checks whether file exists or not.File's full path is given as an argument. If file exists, it returns true otherwise false. Example: <php $path="C:\\Documents and Settings\\user1\\My Documents\\My Pictu ...



READ MORE...


Php File Tutorial-Php file handling

Creating file or making file, in php is done with fopen() function. The fopen() function opens file and returns file handle. The function fopen() takes minimum two arguments, first argument is for path of file including file name and second is for m ...



READ MORE...


Php File Tutorial-Php script for downloading files

As we see on many websites, there are file download links. When we click on the link, browser starts downloading. The question arises that can we do this ? of course, let's learn how to download a file with php. Suppose we have a pdf file which we w ...



READ MORE...