You are here: Re: Includes with muli-level directories « PHP Programming Language « IT news, forums, messages
Re: Includes with muli-level directories

Posted by FP on 12/02/56 11:50

AlexVN wrote:
> Please use the http://www.php.net/getcwd in your D,E,F scripts to check
> what is current directory. I suspect that when the E.php is evaulated
> in context of E.php, the working directory is still \F1\F1_1 so the
> include_once('../D.php'); is trying to include \F1\F1_1\..\D.php, which
> is does not exist.

You're right, just tried the "getcwd" command and the working directory
for all three files was always \F1\F1_1\

Thanks

 

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

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