You are here: Problem with relative path reference « PHP Language « IT news, forums, messages
Problem with relative path reference

Posted by George on 02/21/07 13:52

Dear All,

I am writing some PHP code that has lines of code like
requires("../config.php") to reference a file one level above on the
directory structure.

When I run it, I get the following error:
Failed opening required '../config.php'
(include_path='.:/usr/local/lib/php')

However, on other servers it runs fine so I assume it is an Apache
configuration that I am doing wrong. Could somebody point me to what I
need to fix?

I look forward to hearing from you soon.

Thanks in advance.

George

 

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

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