Last active
July 20, 2018 15:40
-
-
Save racztiborzoltan/18aba66f41b95a64f03b to your computer and use it in GitHub Desktop.
phpinfo.php with links on top
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
<center><?php array_map(function($i){ echo '<a href="?info='.$i.'">'.$i.'</a> | ';}, array('ALL','GENERAL','CREDITS','CONFIGURATION','MODULES','ENVIRONMENT','VARIABLES','LICENSE'));?></center> | |
<?php phpinfo(@constant('INFO_'.((isset($_GET['info']))?$_GET['info']:'ALL'))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment