Reply to Re: Call to a member function on a non-object

Your name:

Reply:


Posted by s on 03/02/06 08:06

On Wed, 01 Mar 2006 17:03:51 -0800, Captain Dondo
<yan@NsOeSiPnAeMr.com> wrote:

>Could someone please look at this code and tell me wht is going on?
>This program dies on the "****" line with:
>Fatal error: Call to a member function on a non-object in
>/www/cgi-bin/pivot.php on line 33
>
>But AFAICT it is absolutely identical to the shape that went before....
>
>What am I missing?
> [snip]
> $c1 = new SWFShape();
> $c1->movePenTo(250,0);
> $cl->setLine(40, 0x7f, 0, 0);************************
> $c1->drawCircle(50);

The object's name is $c1 (cee-one) but you've typo'd it as $cl
(cee-ell).

hth

--
<s@guerril.la.ape> (to email, remove .ape)
Apologies for the ad below.
--

*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com ***

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация