note 70870 added to function.gd-info
| From: | thorerik dot lie at gmail dot com | Date: | Wed, 01 Nov 2006 17:04:47 +0000 |
| Subject: | note 70870 added to function.gd-info | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-119303@lists.php.net to get a copy of this message | ||
i made this small easy but usefull pice of code to show the different GD functions that gd_info
dumps.
<?php
$array = gd_info();
foreach ($array as $key => $val)
{
if ($key != "GD Version") {
if ($val == true || $val == false) {
if ($val == true) {
$val = "Enabled";
}
elseif ($val == false)
{
$val = "Disabled";
}
}
}
echo "$key: $val <br>";
}
?>
----
Server IP: 83.137.200.2
Probable Submitter: 193.216.154.108
----
Manual Page -- http://www.php.net/manual/en/function.gd-info.php
Edit -- https://master.php.net/note/edit/70870
Del: integrated -- https://master.php.net/note/delete/70870/integrated
Del: useless -- https://master.php.net/note/delete/70870/useless
Del: bad code -- https://master.php.net/note/delete/70870/bad+code
Del: spam -- https://master.php.net/note/delete/70870/spam
Del: non-english -- https://master.php.net/note/delete/70870/non-english
Del: in docs -- https://master.php.net/note/delete/70870/in+docs
Del: other reasons-- https://master.php.net/note/delete/70870
Reject -- https://master.php.net/note/reject/70870
Search -- https://master.php.net/manage/user-notes.php