Prob with Gdlib

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-15-2007
chandoo
 
Posts: n/a
Default Prob with Gdlib

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

Reply With Quote
  #2 (permalink)  
Old 08-15-2007
burgermeister01@gmail.com
 
Posts: n/a
Default Re: Prob with Gdlib

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.



Reply With Quote
  #3 (permalink)  
Old 08-16-2007
chandoo
 
Posts: n/a
Default Re: Prob with Gdlib

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..

Reply With Quote
  #4 (permalink)  
Old 08-16-2007
gerrymcc@indigo.ie
 
Posts: n/a
Default Re: Prob with Gdlib

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

Reply With Quote
  #5 (permalink)  
Old 08-16-2007
burgermeister01@gmail.com
 
Posts: n/a
Default Re: Prob with Gdlib

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.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0