★ wanayoo — archive 1999 http://uk.php.net/manual/cs/function.readlink.phpNouvelle recherche | Portail wanayoo
PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<readfilerealpath>
view the version of this page
Last updated: Thu, 08 Jan 2004

readlink

(PHP 3, PHP 4 )

readlink -- Vrací cíl symbolického odkazu

Popis

string readlink ( string path)

readlink() provádí totéž jako funkce readlink v C a vrací název souboru, na který symbolický odkaz (link) ukazuje. Při chybě vrací 0.

Viz také symlink(), readlink() a linkinfo().

Poznámka: Tato funkce nefunguje na Windows systémech



add a note add a note User Contributed Notes
readlink
mads at diehard dot dk
30-Jun-2003 07:46
Please be adviced that the symbolic link-functions don't work on Win2K/Win2003 NTFS-filesystems. The shortcut-files that they are using as links are identified as files by the is_file() function.
23-Jun-2001 01:32
for example, show the current process id :

$pid = readlink("/proc/self");

echo($pid);

<readfilerealpath>
 Last updated: Thu, 08 Jan 2004
show source | credits | sitemap | contact | mirror sites 
Copyright © 2001-2004 The PHP Group
All rights reserved.
This mirror generously provided by: Kewlio.net Limited
Last updated: Wed Jan 28 23:14:58 2004 GMT