Current Location: Home> Function Categories> link

link

Create a hard connection
Name:link
Category:File system
Programming Language:php
One-line Description:Create a hard connection.

Definition and usage

link() function creates a hard connection.

Return true if successful, and false if failed.

Tip: The connection created is not an HTML link, but a connection in the file system.

grammar

 link ( target , link )
parameter describe
target Required.
link Required.
Similar Functions
  • Modify the owner of the symbolic link lchown

    lchown

    Modifytheownerofthes
  • Delete files unlink

    unlink

    Deletefiles
  • Get the file owner fileowner

    fileowner

    Getthefileowner
  • alias for disk_free_space diskfreespace

    diskfreespace

    aliasfordisk_free_sp
  • Modify all groups of symbolic links lchgrp

    lchgrp

    Modifyallgroupsofsym
  • Create a new directory mkdir

    mkdir

    Createanewdirectory
  • Synchronize changes to files (including metadata) fsync

    fsync

    Synchronizechangesto
  • Change file owner chown

    chown

    Changefileowner
Popular Articles