Query: symlink
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SYMLINK(3) 1 SYMLINK(3) symlink - Creates a symbolic linkSYNOPSISbool symlink (string $target, string $link)DESCRIPTIONsymlink(3) creates a symbolic link to the existing $target with the specified name $link.PARAMETERSo $target - Target of the link. o $link - The link name.RETURN VALUESReturns TRUE on success or FALSE on failure.CHANGELOG+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.3.0 | | | | | | | This function is now available on Windows plat- | | | forms (Vista, Server 2008 or greater). | | | | +--------+---------------------------------------------------+EXAMPLESExample #1 Create a symbolic link <?php $target = 'uploads.php'; $link = 'uploads'; symlink($target, $link); echo readlink($link); ?>NOTESNote Windows users should note that this function will only work if the system you run PHP from is Windows Vista/Windows Server 2008 or newer. Windows versions prior to that do not support symbolic links.SEE ALSOlink(3), readlink(3), linkinfo(3). PHP Documentation Group SYMLINK(3)
Related Man Pages |
---|
symlink(2) - debian |
symlink(4) - hpux |
linkinfo(3) - php |
symlink(3) - php |
readlink(3) - php |
Similar Topics in the Unix Linux Community |
---|
Creating symbolic link |
AIX cifs: mount Windows Server 2008 share ? |
Linux Desktop vs Windows 8 |
Creating conditional symlink |
Grep Question |