You are here: Re: The principle of include files in PHP, not as in C++ « PHP Programming Language « IT news, forums, messages
Re: The principle of include files in PHP, not as in C++

Posted by Rik Wasmus on 10/17/07 12:27

On Tue, 16 Oct 2007 20:55:14 +0200, Alexey Kulentsov <akul@inbox.ru> wrote:

> Tim Roberts wrote:
>
>> PHP's rules are different. Not better, not worse. Just different.
> Yes, not worse but just fully idiotic.
>
>
> You have to use include_once
> dirname(__FILE__).'some_path_to_file.php' to get portable code
> independent from server.

PHP was never meant to be independant from a server.... It can be, not the
general idea though.
--
Rik Wasmus

 

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

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