Working with files

There are a number of functions in PHP for working with files.

Disk functions

  • unlink($path), delete file
  • copy($from, $to), copy a file from one location to another (can be from a URL to the local disk)
  • rename(), rename or move a file on disk
  • chmod(), change permissions to read, write or execute a file

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.