=== Équivalent de `pwd` en PHP === --- 1) getcwd() : dossier courant --- Répertoire courant : /home/wegoovg/www/remote-php --- 2) __DIR__ : dossier du script --- __DIR__ : /home/wegoovg/www/remote-php --- 3) realpath() : chemin réel (sans lien symbolique) --- realpath(__DIR__) : /home/wegoovg/www/remote-php --- 4) Dossier personnel (posix_getpwuid) --- Utilisateur : wegoovg UID : 470835 Dossier home : /homez.2168/wegoovg Shell : /bin/ovh_sftponly --- 5) Contenu du dossier courant (équivalent ls) --- . .. build.php compilation.php config-admin.php copie-pages.php curl.php diag.php diagnostic-ftp - Copie (2).php diagnostic-ftp - Copie.php diagnostic-ftp.php etape1 - Copie.php etape1.php etape2.php etape3.php hash2.php pages pages_ phpinfo.php pwd.php pws.php test-hash.php test-mlsd.php test-php.php test-recursif.php testphp.php transfert-pages.php travail --- 6) Informations système (équivalent uname -a) --- PHP_OS : Linux PHP_OS_FAMILY : Linux php_uname() : Linux webm011.cluster121.gra.hosting.ovh.net 6.18.56-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Oct 13 12:27:42 CEST 2026 x86_64 Hostname : webm011.cluster121.gra.hosting.ovh.net === Fin ===