You are here: Re: How to open another page by PHP « All PHP « IT news, forums, messages
Re: How to open another page by PHP

Posted by Stefan Mueller on 02/02/06 19:50

> No, PHP is executed from top to bottom, it will only include those pages
> it's told to include depending on the condition. In your switch example,
> there would be at most one file included (no default, so there can be time
> no file is included).


You're right. 'Include' in PHP is not like 'Include' in C++. The file gets
only loaded if the 'include' command gets executed. Therefore it also works
with dynamic filenames.
Wow, that's exactly what I was looking for.

Many thanks to all of you
Stefan

 

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

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