Working with files in PHP.

 Working with files in PHP

File

simply a resource for storing information on a computer.

store information:-

  • Configuration settings of a program
  • Simple data ex.  contacts.
  • Images, Pictures, Photos, etc.

PHP File Formats Support: a wide range of file formats that include;

  • File.txt
  • File.log
  • File.custom_extension i.e. file.xyz
  • File.csv
  • File.gif, file.jpg etc

 

File handling:- perform various operations on the file.

File handling in PHP is similar to a programming language like C.

 

PHP files Functions

rich collection of built-in functions.

not case sensitive.

naming conversion such as lower case letters only.

following modes:

                              


Post a Comment

0 Comments