Reply to Re: How do you delete a zip file from a directory?

Your name:

Reply:


Posted by comp.lang.php on 10/24/06 14:39

Marcin Dobrucki wrote:
> comp.lang.php wrote:
> >
> > if (@!is_class($this->dbAP, 'DBActionPerformer')) $this->dbAP =& new
> > DBActionPerformer(); // LOCAL INSTANTIATION UNLESS ALREADY EXISTING
>
> I don't know about the actual unlinking of zip files, etc, but AFAIK
> you can't create objects by reference. This should be:
>
> ...$this->dbAP = new DBActionPerformer();

Um I'm sorry but yes you can. I've been doing this in PHP for years
with no problem:

$this->dbAP =& new DBActionPerformer();

Phil

[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

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