Created
April 16, 2016 20:01
-
-
Save jpluimers/28042cfedd2757c27bdbf4733cd562c1 to your computer and use it in GitHub Desktop.
Convert PHP gd_info to HTML table as it shows a tad bit more than phpinfo.
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 "<h1>gd_info</h1>"; | |
$gdInfo = gd_info(); | |
echo "<table>"; | |
foreach($gdInfo as $key=>$value) { | |
echo "<tbody>"; | |
echo "<tr>"; | |
echo "<td class='e'>" . $key . "</td>"; | |
echo "<td class='v'>" . $value . "</td>"; | |
echo "</tbody>"; | |
} | |
echo "</table>"; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment