This is a discussion on Prob with Gdlib within the PHP Language forums, part of the PHP Programming Forums category; Hi, May i know wats the prob with this function? The program is: <?php var_dump(gd_info()); ?> and the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
May i know wats the prob with this function? The program is: <?php var_dump(gd_info()); ?> and the output is like this: Fatal error: Call to undefined function gd_info() in C:\wamp\www\img \gdinfo.php on line 2.... I m trying to improve the color and brightness of the images in admin panel dynamically. can any one suggest me or give any snippets of code, With regards.... Chandoo.M.v |
|
|||
|
On Aug 15, 8:00 am, chandoo <vamsi.chan...@gmail.com> wrote:
> Hi, > May i know wats the prob with this function? > The program is: > > <?php > var_dump(gd_info()); > ?> > > and the output is like this: > > Fatal error: Call to undefined function gd_info() in C:\wamp\www\img > \gdinfo.php on line 2.... > > I m trying to improve the color and brightness of the images in admin > panel dynamically. > can any one suggest me or give any snippets of code, Is it possible you don't have the gd extension installed? I know that could cause that error message to appear. |
|
|||
|
chandoo <vamsi.chandoo@gmail.com> wrote:
>Hi, >May i know wats the prob with this function? >The program is: ><?php >var_dump(gd_info()); >?> >and the output is like this: >Fatal error: Call to undefined function gd_info() in C:\wamp\www\img >\gdinfo.php on line 2.... >I m trying to improve the color and brightness of the images in admin >panel dynamically. >can any one suggest me or give any snippets of code, >With regards.... >Chandoo.M.v I'm only a newbie so maybe I'm all wrong, but I'd check php_info() to see if the GD library is enabled. If it's not you need to enable it in the php.ini file. Please excuse my presumption... Gerard |
|
|||
|
On Aug 15, 11:14 pm, chandoo <vamsi.chan...@gmail.com> wrote:
> Ok. > Thank u. > Can anybody suggest me where to download the gd library for the php > and how to install it,and where to change the ini settings to do my > image manipulations , > Response greatly appreciated.. > Thank u ,we honor u r assistance.. The PHP manual has excellent instructions on installing the extension, as well as a link where you can download it: http://www.php.net/manual/en/ref.image.php The manual is an excellent source of information for genera questions. |