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");
Tag Archives: php file functions
PHP-file functions
Posted by
on February 23, 2011
No comments