Introduction to Files By: Admin
This section of the PHP tutorial is completely
dedicated to how PHP can interact with files. After completing this
section you should hav...01-Apr-2010 |
File Create By: Admin
Before you can do anything with a file it has
to exist! In this lesson you will learn how to create a file using PHP.
In PHP, a file is c...01-Apr-2010 |
File Upload By: Admin
Before you can use PHP to manage your uploads,
you must first build an HTML form that lets users select a file to
upload. See our HTML Fo...01-Apr-2010 |
File Open By: Admin
In the previous lesson we used the function
fopen to create a new file. In this lesson we will be going into the
details of this importan...01-Apr-2010 |
File Close By: Admin
The next logical step after you have opened a
file and finished your business with it is to close that file down. You
don't want an open ...01-Apr-2010 |
File Write By: Admin
Now that you know how to open and close a file,
lets get on to the most useful part of file manipulation, writing!
There is really only o...01-Apr-2010 |
File Read By: Admin
My apologies for taking so long to actually get
to the point where you get information from files. In this lesson we
will teach you how t...01-Apr-2010 |
File Delete By: Admin
You know how to create a file. You know how to
open a file in an assortment of different ways. You even know how to
read and write data f...01-Apr-2010 |
File Append By: Admin
So far we have learned how to open, close,
read, and write to a file. However, the ways in which we have written
to a file so far have ca...01-Apr-2010 |
File Truncate By: Admin
As we have mentioned before, when you open a
file for writing with the paramater 'w' it completely wipes all data
from that file. This ac...01-Apr-2010 |