"Jed R. Brubaker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all!
>
> I am trying to do something really simple, but my error is outside of my
> expertise (hopefully not for long!).
>
> Code:
> -------------------------------------------------
> $this->lVertical = "images/box/".$template."_lVertical.gif";
> $borderWidth = imagesx($this->lVertical);
> -------------------------------------------------
> Error:
> -------------------------------------------------
> Fatal error: Call to undefined function imagesx() in
> c:\web\www\php\classes\Box.class on line 65
> -----------------------------------------------------------
>
> Am I missing something in the PHP config? What should I be looking for.
Oh!
> I am on PHP5.0 - that should help.
>
> Thanks in advance!

Read the manual:
http://de.php.net/manual/en/function.imagesx.php

You need an image resource to get the file size.

Regards, Torsten Roehr

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to