Logo KRISTOFFER BOHMANN  [BETA]
  • Forside
  • Om KB
  • Kompetencer
  • Referencer
Filesystem
basename
chgrp
chmod
chown
clearstatcache
copy
delete
dirname
diskfreespace
disk_free_space
disk_total_space
fclose
feof
fflush
fgetc
fgetcsv
fgets
fgetss
file
fileatime
filectime
filegroup
fileinode
filemtime
fileowner
fileperms
filesize
filetype
file_exists
file_get_contents
file_put_contents
flock
fnmatch
fopen
fpassthru
fputcsv
fputs
fread
fscanf
fseek
fstat
ftell
ftruncate
fwrite
glob
is_dir
is_executable
is_file
is_link
is_readable
is_uploaded_file
is_writable
is_writeable
lchgrp
lchown
link
linkinfo
lstat
mkdir
move_uploaded_file
parse_ini_file
parse_ini_string
pathinfo
pclose
popen
readfile
readlink
realpath
realpath_cache_get
realpath_cache_size
rename
rewind
rmdir
set_file_buffer
stat
symlink
tempnam
tmpfile
touch
umask
unlink
Home > PHP > Function > Filesystem > link()

link()

link - Create a hard link

Syntax

bool link (string $from_path, string $to_path)

Arguments

  • from_path - The link name.
  • to_path - Target of the link.

Description

link() creates a hard link.

Version

PHP 4, 5

Return value

Returns TRUE on success or FALSE on failure.
Kristoffer Bohmann, Ved Bjerget 12, DK- 9530 Støvring, Telefon +45 29 79 39 19, E-mail: