PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

realpath> <readfile
Last updated: Fri, 01 Jun 2007

view this page in

readlink

(PHP 4, PHP 5)

readlink — Returns the target of a symbolic link

Description

string readlink ( string $path )

readlink() does the same as the readlink C function and returns the contents of the symbolic link path or FALSE in case of error.

Example 651. readlink() example

<?php

// output e.g. /boot/vmlinux-2.4.20-xfs
echo readlink('/vmlinuz');

?>

Note: This function is not implemented on Windows platforms.

See also is_link(), symlink(), and linkinfo().



add a note add a note User Contributed Notes
readlink
There are no user contributed notes for this page.

realpath> <readfile
Last updated: Fri, 01 Jun 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites