readlink
<<<
realpath rename
>>>

7.29 Système de fichiers
7 Index des fonctions
 Manuel PHP

. Introduction
. Pré-requis
. Installation
. Configuration à l'exécution
. Types de ressources
. Constantes prédefinies
. Voir aussi
. basename
. chgrp
. chmod
. chown
. clearstatcache
. copy
. delete
. dirname
. disk_free_space
. disk_total_space
. diskfreespace
. fclose
. feof
. fflush
. fgetc
. fgetcsv
. fgets
. fgetss
. file_exists
. file_get_contents
. file_put_contents
. file
. fileatime
. filectime
. filegroup
. fileinode
. filemtime
. fileowner
. fileperms
. filesize
. filetype
. flock
. fnmatch
. fopen
. fpassthru
. fputs
. fread
. fscanf
. fseek
. fstat
. ftell
. ftruncate
. fwrite
. glob
. is_dir
. is_executable
. is_file
. is_link
. is_readable
. is_uploaded_file
. is_writable
. is_writeable
. link
. linkinfo
. lstat
. mkdir
. move_uploaded_file
. parse_ini_file
. pathinfo
. pclose
. popen
. readfile
. readlink
->realpath
. rename
. rewind
. rmdir
. set_file_buffer
. stat
. symlink
. tempnam
. tmpfile
. touch
. umask
. unlink

7.29.71 realpath()Retourne le chemin canonique absolu

[ Exemples avec realpath ]   PHP 4

string  realpath ( string   path )

realpath résoud tous les liens symboliques, et remplace toutes les références '/./', '/../' et '/' de path puis retourne le chemin canonique absolu ainsi trouvé. Le résultat ne contient aucun lien symbolique, '/./' ou '/../'.

Exemple avec realpath

<?php
  $real_path
= realpath ("../../index.php");
?>

Voir aussi basename , dirname et pathinfo .

<< realpath >>
readlink Système de fichiers rename