Current Location: Home> Function Categories> symlink

symlink

Establish symbolic connection
Name:symlink
Category:File system
Programming Language:php
One-line Description:Create symbolic connection.

Definition and usage

symlink() function creates symbolic connections.

grammar

 link ( target , link )
parameter describe
target Required.
link Required.

illustrate

symlink() establishes a symbolic connection named link for existing targets .

Return true if successful, and false if failed.

Similar Functions
  • Group of files obtained filegroup

    filegroup

    Groupoffilesobtained
  • Read files (safely used in binary files) fread

    fread

    Readfiles(safelyused
  • Determine whether the given file name is a symbolic connection is_link

    is_link

    Determinewhethertheg
  • Synchronize changes to files (including metadata) fsync

    fsync

    Synchronizechangesto
  • Find file paths that match patterns glob

    glob

    Findfilepathsthatmat
  • Determine whether the given file name is a normal file is_file

    is_file

    Determinewhethertheg
  • Get the inode modification time of the file filectime

    filectime

    Gettheinodemodificat
  • See unlink() or unset() (PHP does not have delete keywords or functions) delete

    delete

    Seeunlink()orunset()
Popular Articles