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