2010-02-15 3 views

Répondre

8

Vous cherchez realpath

$path = 'mydir/index.php'; 
echo realpath($path); 
+0

Merci benoit, c'était ce que je cherchais. –

5

Ajoutez le préfixe $_SERVER["DOCUMENT_ROOT"] au chemin du script.

Questions connexes