Category Archives: PHP-some file functions()

PHP-file functions

rename()	Renames a given file	rename("oldname.txt","newname.txt");
unlink()	Deletes a file	unlink("file.txt");
filesize()	Returns the file size of a file	print file("file.txt");
copy()	Copys a file from location to another	copy("olddir/oldname.txt","newdir/newname.txt");

Similar Links:

Link 1

Link 2