You are here: Re: When "static" isn't "static" « PHP Programming Language « IT news, forums, messages
Re: When "static" isn't "static"

Posted by Sean on 12/05/05 21:32

I can see what you are trying to do however it's not going to work
the way you have it. Sure its static var but its going to change every
time it you recursivly call blah (due to this line $baseDir = $item; &
this line if (is_dir("$baseDir/$fyl")) blah($item); );

(e.g. everytime it finds a dir its going to change the value of
baseDir).

 

Navigation:

[Reply to this 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

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