p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Wrox Book Feedback (http://p2p.wrox.com/forumdisplay.php?f=55)
-   -   Is the book wrong or me? (http://p2p.wrox.com/showthread.php?t=1350)

G-Zilla July 7th, 2003 03:14 PM

Is the book wrong or me?
 
<html>
    <head>
        <title>

        </title>
    </head>
    <body>
    <?php
    $image = ImageCreate(200,150);
    $gray = ImageColorAllocate($image,204,204,204);
    $blue = ImageColorAllocate($image,0,0,255);

    ImageLine($image, 10,10,150,30, $blue);

    ImageJPEG($image);
    ImageDestroy($image);
    ?>

    </body>
</html>

gives me an error msg of

"Fatal error: Call to undefined function: imagecreate() in c:\apache\htdocs\tyb\imagetesting\imagecreate.php on line 9"

Will appear after each of your posts.

Hal Levy July 7th, 2003 09:58 PM

I suggest posting your question in the PHP technical forum.

Hal Levy
NOT a Wiley/Wrox Employee- Got a job for me?


All times are GMT -4. The time now is 08:09 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.