|
|
||
Php - Fichier I/OScripts & Fonctions pour la gestion de fichiersCompresser un fichier avec exec
Ce script permet de compresser fichier lui même créé en utilisant la fonction exec et une compression en tar.gz. Catégorie fichiers
Rename files inside a directory
From a given path, this code provides a way to list all files and rename each one while extracting unwanted files. It uses serveral Php File I/O functions such as rename, is_dir...
Catégorie fichiers
Reading & Updating a File
This script reads a file line by line using the fgets function and updates the file by either adding a line or updating a field contained on a line.
Catégorie fichiers
Read from a file - Output in String
This script reads the content of a file and echoes it into a string. It uses the file_get_contents() function which opens, reads and closes the file.
Catégorie fichiers
Write to a file
This script writes to a file the content you just entered from an online html form. It uses the fopen and fwrite functions of Php.
Catégorie fichiers
You may send your contribution at anytime. |
|
Catégories |