Hi frndss file concept is most important in php.Today i learned something in file concept.. I am happy to share my readings
1.Read Local file
The easiest way to read the content of a disk file in PHP file_get_contents .
2.Reading Remove File
file_get_contents and file() both are support to reading data in URLs also either using HTTP or FTP.
3.Following functions are main things in PHP
fgets() => It is used to read the number of bytes from a file.
fopen() => It is used to open the file.
('r') => It is used to read the file
('w') => It is used to write a file.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment