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
  • Delete directory rmdir

    rmdir

    Deletedirectory
  • Format the line to CSV and write to the file pointer fputcsv

    fputcsv

    FormatthelinetoCSVan
  • Get file type filetype

    filetype

    Getfiletype
  • Synchronize changes to files (including metadata) fsync

    fsync

    Synchronizechangesto
  • Determine whether the given file name is a symbolic connection is_link

    is_link

    Determinewhethertheg
  • Match file names with pattern fnmatch

    fnmatch

    Matchfilenameswithpa
  • All remaining data at the output file pointer fpassthru

    fpassthru

    Allremainingdataatth
  • Read a line from a file pointer and filter out HTML tags fgetss

    fgetss

    Readalinefromafilepo
Popular Articles