Interesting facts about PHP programming Language
seen from Singapore

seen from United States
seen from Thailand
seen from United Kingdom
seen from United Kingdom

seen from Germany

seen from United States
seen from Germany

seen from Russia
seen from China

seen from United States

seen from United Kingdom
seen from Germany

seen from United States
seen from United Kingdom
seen from Brazil
seen from China
seen from Switzerland

seen from China

seen from Germany
Interesting facts about PHP programming Language
If you are looking for enhance your skills, then join our PHP Certification Programs.
File handling in PHP with Source code
Introduction File handling is a main part of any application or website. This handling part can perform various task. Such as open file, read, write and delete files. As a programming language php can perform the similar task like other program. Well PHP is a scripting programming language. We can perform various task using this program. PHP program is especially built for web development. But we can still do various works using php. It is simple and easy to learn. In this tutorial we are going to open a txt file, read, write and delete the file. It is easy to open a txt file using computer. We are doing this file handling function using php program. You will be provided the source code along with this article. We will be using php built in functions. Such as fopen, fread, fwrite, unlink etc. Make sure that all the php files has opening and closing tag. You will get error if not use tag properly. The fopen() function is useful for creating a new txt file. You must provide a file name. A example.txt file will be created. I am proving example.txt for my file name. see the code for creating file below. The fwrite() function writes on the newly created file. You can write anything on that file using fwrite() function. Write “I like php” and see what happens. The example.txt file that is created is use for writing. We are writing on same file. further file handling For reading from file we use fread() php function. We are reading from the example.txt file. Read the full article