Created
August 2, 2019 18:46
-
-
Save parzibyte/4d8617089a565e4560b43d25527e4fa7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo "\nEste script se ejecuta en: " . __DIR__; | |
$padre = dirname(__DIR__); | |
echo "\nLa ruta del padre es: $padre"; | |
$masArriba = dirname($padre); | |
echo "\nUna ruta más arriba es: $masArriba"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment