buy tb500

GD funiction

this funiction use for upload picture in php

you can test is this funiction enalbed in the server or not. use the code below

<?php
var_dump
(gd_info());
?>
result should be same like below
array(9) {
  ["GD Version"]=>
  string(24) "bundled (2.0 compatible)"
  ["FreeType Support"]=>
  bool(false)
  ["T1Lib Support"]=>
  bool(false)
  ["GIF Read Support"]=>
  bool(true)
  ["GIF Create Support"]=>
  bool(false)
  ["JPEG Support"]=>
  bool(false)
  ["PNG Support"]=>
  bool(true)
  ["WBMP Support"]=>
  bool(true)
  ["XBM Support"]=>
  bool(false)
}

References
http://www.php.net/manual/en/function.gd-info.php

Leave a Reply