Re: [PHP-INSTALL] I cant get php_gd.dll to work

[email protected] (Christopher Jones)
Newsgroups php.install
Message-ID <[email protected]>

Mark wrote:
> I try to run the following code fragment to test it out ....
> 
> 
> <?PHP
> $image=$imagecreate(100,100);
> ?>
> 
> And I get.
> 
> Notice: Undefined variable: imagecreate in C:\Program Files\Apache Software 
> Foundation\Apache2.2\htdocs\livepoker.php on line 5
> 
> Fatal error: Function name must be a string in C:\Program Files\Apache 
> Software Foundation\Apache2.2\htdocs\livepoker.php on line 5
> 
> 
> Does any body have any advice ?
> 
> Thanks,
> 
> Mark.

At a wild guess try:

<?PHP
$image=imagecreate(100,100);
?>

-- 
Christopher Jones, Oracle
Email: [email protected]    Tel:  +1 650 506 8630
Blog:  http://blogs.oracle.com/opal/   Free PHP Book: http://tinyurl.com/f8jad
Follow me: http://friendfeed.com/ghrd
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.