diff options
| author | polo <ordipolo@gmx.fr> | 2021-04-20 23:34:12 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2021-04-20 23:34:12 +0200 |
| commit | 9cc7651e7eb2b3dfff6151f5226b4411ac7adcb3 (patch) | |
| tree | 86b04a736dfb00b5fab421ddca3ca7ef29f0be9a | |
| parent | 59e441ba550f1842db69f36de7e7ebf7ed2e633e (diff) | |
| download | melaine-9cc7651e7eb2b3dfff6151f5226b4411ac7adcb3.tar.gz melaine-9cc7651e7eb2b3dfff6151f5226b4411ac7adcb3.tar.bz2 melaine-9cc7651e7eb2b3dfff6151f5226b4411ac7adcb3.zip | |
mot de passe
| -rw-r--r-- | hello-debug.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/hello-debug.php b/hello-debug.php deleted file mode 100644 index 62fdc4f..0000000 --- a/hello-debug.php +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | <?php | ||
| 2 | $hello = "hello"; | ||
| 3 | $doc_root = $_SERVER['DOCUMENT_ROOT']; | ||
| 4 | $nom = $_SERVER['SERVER_NAME']; | ||
| 5 | $pwd = getcwd(); | ||
| 6 | $script = $_SERVER['PHP_SELF']; | ||
| 7 | $lang = $_SERVER['HTTP_ACCEPT_LANGUAGE']; | ||
| 8 | ?> | ||
| 9 | <!DOCTYPE html> | ||
| 10 | <html> | ||
| 11 | <head> | ||
| 12 | <title><?= $hello ?></title> | ||
| 13 | </head> | ||
| 14 | <body> | ||
| 15 | <p>Racine selon le serveur: <?= $doc_root ?></p> | ||
| 16 | <p>Nom du serveur: <?= $nom ?></p> | ||
| 17 | <p>Répertoire courant: <?= $pwd ?></p> | ||
| 18 | <p>Chemin du script: <?= $script ?></p> | ||
| 19 | <p>Langue: <?= $lang ?></p> | ||
| 20 | <p><?php echo(var_dump($_SERVER)); ?></p> | ||
| 21 | </body> | ||
| 22 | </html> | ||
