SommaireTelecharger la documentationChapitre suivantChapitre precedent  

  .: News :.: Edito :.: Scripts :.: Forum :.: Erreurs :.: Jobs :. 
 
Sommaire

Système de fichiers

basename
chgrp
chmod
chown
clearstatcache
copy
delete
dirname
disk_free_space
diskfreespace
disk_total_space
fclose
feof
fflush
fgetc
fgetcsv
fgets
fgetss
file
file_exists
fileatime
filectime
filegroup
fileinode
filemtime
fileowner
fileperms
filesize
filetype
flock
fopen
fpassthru
fputs
fread
fscanf
fseek
fstat
ftell
ftruncate
fwrite
set_file_buffer
is_dir
is_executable
is_file
is_link
is_readable
is_writable
is_writeable
is_uploaded_file
link
linkinfo
mkdir
move_uploaded_file
parse_ini_file
pathinfo
pclose
popen
readfile
readlink
rename
rewind
rmdir
stat
lstat
realpath
symlink
tempnam
tmpfile
touch
umask
unlink

6.30.65 realpath

[ Exemples avec realpath ]   PHP 4 >= 4.0.0

Description

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");
?>


Chapitre précédentChapitre suivantAccueil nexen.net