Closed Thread Icon

Topic awaiting preservation: simple PHP question (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=13106" title="Pages that link to Topic awaiting preservation: simple PHP question (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: simple PHP question <span class="small">(Page 1 of 1)</span>\

 
paritycheck
Bipolar (III) Inmate

From:
Insane since: Mar 2004

posted posted 03-24-2004 06:59

Hi guys I'm a newbie to PHP, I've like downloaded the gd library, unzipped it into a folder.. and well I don't know how to include it into my php code.. what file or header do I include and HOW. I know I've got a lot to learn about php

rickindy
Nervous Wreck (II) Inmate

From: Indianapolis, In USA
Insane since: Jan 2002

posted posted 03-24-2004 13:57

Here's the section ni the documentation on using the GD library. It should help.
http://us4.php.net/image



Few problems in life can't be solved by chocolate

PaulBM
Nervous Wreck (II) Inmate

From:
Insane since: Sep 2003

posted posted 03-24-2004 15:32

If I understand your question correctly, there's some missing info here.

Are you running a web server or just coding a php page to use the GD Library functions?

If you're running the web server, the GD Library files have to be added to the web server installation, there's probably an INSTALL or readme file with the GD Library package.

If you're coding PHP to use the GD functions, put the following into a PHP page

code:
<?php phpinfo(); ?>

on your web site. Run the page to see if GD is installed and which version they have installed. If GD is installed your PHP code will work, providing you only use functions supported by the version installed.



paritycheck
Bipolar (III) Inmate

From:
Insane since: Mar 2004

posted posted 03-25-2004 09:28

I just wanna know whether I need to include any header files in php code to use the gd library as in C++ or no

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 03-25-2004 17:43

no



.:[ Never resist a perfect moment ]:.

« BackwardsOnwards »

Show Forum Drop Down Menu