PHP Classes

PHP Write to File: Write array or text to a file creating its folder

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 90 All time: 9,867 This week: 119Up
Version License PHP version Categories
write 1.0.0GNU General Publi...5PHP 5, Files and Folders


This class can write an array or text to a file creating its folder.

It can take a variable value as a parameter to write it to a file with a given path.

If the variable value is an array, the class can convert it to a string before writing it to the file using a given delimiter text to join the array values and form a single text string.

If the file folder does not exist, the class may create the folder with write permissions.

Picture of Ali YILMAZ
  Performance   Level  
Name: Ali YILMAZ <contact>
Classes: 15 packages by
Country: Turkey Turkey
Age: ???
All time rank: 252542 in Turkey Turkey
Week rank: 34 Up3 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 7x

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file write.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,867
This week:119Up