|
6.30.70 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 realpath |
<?php $real_path = realpath("../../index.php"); ?>
|
|