Creating Files in PHP
PHP Files Overview
|Learn PHP and MySQL fast!|
Learn how you can start building rich interactive database driven sites like a professional developer easily and quickly...
>> Order your copy now for just $39.95 <<
As a developer, every now and then you will need to work with files, to manipulate them, to read them, to parse them and to do all sorts of other stuff with files. Every language has a set of functions which allows you to easily read, write and parse file. Similarly, PHP has a set file system function which makes working files really easy. In the next set of tutorials, we will attempt to teach you how to use these PHP file function like fopen, fread, fwrite, fgets, etc to make working with files easier, faster and safer.
When to use files?
You can use files to store data. If you need to store user data or sensitive data, database should be used instead of files. When you use PHP as a developer and learn how to work with files and databases your work at webdesign will become increasingly easier.
Files should only be used to store temporary data or data which is insensitive in nature. You should never use files to store huge amounts of data. Files can only hold certain amount of data in them.
A usage of file would be to store logs, static data, xml data for parsing and so on.
Are you still stuck using HTML?
"Learn how to build websites using PHP and MYSQL"
|Top||PHP File Create >>|