SitePoint Sponsor

User Tag List

Results 1 to 1 of 1
  1. #1
    SitePoint Addict
    Join Date
    Jun 2005
    Posts
    286
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What are the requirements to prgram in php?

    Hi;
    I want to do some with Images, (Generate, crreate, maniopulate...)

    I m using PHP 4.4 ---- Win XP

    Plz tell what else I hvae to install in order to do some stuff with images.

    I wrote a small program:
    PHP Code:
    <?php
    header
    ("Content-Type: image/gif");
      
    $img imagecreate(100100);
      
      
    $Black imagecolorallocate($img0,0,0);
      
    $White imagecolorallocate($img255,255,255);
      
      
    imageline($img0,0,99,99,$White);
      
    imagegif($img);
      
      
    imagedestroy($img);
    ?>
    But it threw following error:

    Fatal error: Call to undefined function: imagegif() in G:\PHP\Image_Manipulation\FirstImage.php on line 19


    Also plz tell me about GD library?
    Last edited by MohsinAli; Oct 8, 2005 at 20:19.
    [COLOR=SlateGray]
    Web Developer @ VeriQual


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •