Skip to content

Instantly share code, notes, and snippets.

@gerardsimons
Last active March 16, 2022 20:25
Show Gist options
  • Save gerardsimons/13e3f0d7a485512ffe26c1fb73916025 to your computer and use it in GitHub Desktop.
Save gerardsimons/13e3f0d7a485512ffe26c1fb73916025 to your computer and use it in GitHub Desktop.
<?php
$output = shell_exec('hostname');
echo "<pre>$output</pre>";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment