Reply to Re: classes: strange behavior

Your name:

Reply:


Posted by Jerry Stuckle on 05/06/06 22:54

Paul Czubilinski wrote:
> Hi Jerry,
>
> Sure - I made some mind shortcut writing that 'A.php' is loaded into
> browser. I mean - A.php is executed on the server. The basic problem is
> that class definition which is inside file A.php is not visible for the
> PHP when executing code from other files (which are included from
> A.php)
>
> Paul
>

OK, Paul,

Well, as long as the class definition appears before the includes for the other
files, they should be able to use it. But if the definition isn't until after
the includes, they will not be able to use it.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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