Re: Image Width Error

From: Date: Tue, 24 Aug 2004 18:10:05 +0000
Subject: Re: Image Width Error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-194611@lists.php.net to get a copy of this message
"Jed R. Brubaker" <jrb21398@hotmail.com> wrote in message news:20040824175817.74205.qmail@pb1.pair.com... > 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

« previous php.general (#194611) next »